android - Signing Apk Not Recognized -


i'm trying deploy android apk created cordova i'm wrong. here process :

1)build release apk : cordova build android --release

2)generate keystore : keytool -genkey -v -keystore my-release-key.keystore -alias com.mycompany.appsname -keyalg rsa -keysize 2048 -validity 10000 create password named mypass, , write information in form (name, country,...)

3)signed apps : jarsigner -verbose -sigalg sha1withrsa -digestalg sha1 -keystore my-release-key.keystore android-release-unsigned.apk com.mycompany.appsname

4)checked signing : jarsigner -verify -verbose -certs android-release-unsigned.apk output :

"jar verified. warning: jar contains entries certificate chain not validated. jar contains signatures not include timestamp. without timestamp, users may not able validate jar after signer certificate's expiration date (2043-12-07) or after future revocation date."

5)zip apk : "c:\pathtosdk\zipalign.exe" -v 4 android-release-unsigned.apk com.mycompany.appsname.apk 6)and copy apk on android device.

but when try install apps, device ask me allow unknown sources... it's not signed. know i'm wrong ?

thanks in advance

your apk signed , fine. reason asks allow unknown sources because default not allows install .apk files other sources google play store. security issues https://support.google.com/nexus/answer/2812853?hl=en


Comments