Apk Signature Not Recognized

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

+10
source share
3 answers

Your apk is probably signed and excellent. the reason he asks to allow unknown sources, because by default it does not allow you to install .apk files from sources other than the Google play store. Security Issues https://support.google.com/nexus/answer/2812853?hl=en

0
source

, , , . .

0

Try installing a derivative apk. First release your application in the Alpha version of the game store. Then download the resulting APK from the alpha release. I think this will help.

0
source

Source: https://habr.com/ru/post/1648664/


All Articles