I am trying to deploy android apk created by Cordova, but I am wrong. Here is my process:
1) Create an apk version: cordova build android --release
2) Create a keystore: keytool -genkey -v -keystore my-release-key.keystore -alias com.MyCompany.AppsName -keyalg RSA -keysize 2048 -validity 10000
I create a password with the name MyPass and write all the information in the form (name, country, ...)
3) Signed Applications: jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore android-release-unsigned.apk com.MyCompany.AppsName
4) Verified for signing: jarsigner -verify -verbose -certs android-release-unsigned.apk
I get this output:
"verified. Warning: This bank contains records whose certificate chain has not been verified. This banner contains signatures that do not contain a time stamp. Without a time stamp, users may not be able to verify this bank after the expiration date of the subscriber’s certificate (2043-12 -07) or after any future revocation date.
5) Replace Apk: "c:\pathtosdk\zipalign.exe" -v 4 android-release-unsigned.apk com.MyCompany.AppsName.apk
6) And then I copy Apk on the Android device.
But when I try to install the Applications, the device will ask me to resolve unknown sources ... it seems to be not signed. Does anyone know where I am going wrong?
Thanks in advance
source
share