R
R
Roman2019-08-22 07:42:11
Apache Cordova
Roman, 2019-08-22 07:42:11

When building a signed APK in Android Studio, adb swears during installation: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES], what should I do?

Created keystoreusing keytool, then using this key, signed via jarsigner, created in Cordova, APK - everything started fine on the emulator.
But when I try with the same key in Android Studio - 'Generate signed APK', the APK is created normally, but it does not start on the emulator, adb writes:

pkg: /data/local/tmp/app-release.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

Why is this? What can be done about it?
And yet, there are signature options: v1 and v2 - I tried it in different ways, it doesn't work either.
Tell me who knows.
Thank you.
upd.: Now I tried to sign the APK created in Android Studio using jarsigner- the same thing:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
that is, Android Studio generates some incompatible APKs ... I don’t understand :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2019-08-22
@procode

After a long and hard poke and sorting through the possible options, it was found that this was some kind of glitch in the Android emulator from Android Studio.
When uncreating and recreating the virtual machine, everything was installed as it should.
whoopssss...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question