Android adb install failure INSTALL_PARSE_FAILED_NO_CERTIFICATES

  • Post author:
  • Post last modified:May 26, 2023
  • Reading time:2 mins read

1.0 Error

A signed APK of an Android app was built using the Android Studio. When we tried to download the signed APK to a device using the adb command, the command failed with the error, INSTALL_PARSE_FAILED_NO_CERTIFICATES.

$ adb install app-release.apk 
app-release.apk: 1 file pushed. 6.5 MB/s (5878675 bytes in 0.868s)
	pkg: /data/local/tmp/app-release.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

2.0 Solution

While building the signed APK with the menu option Build –> Generate Signed APK …, the Generate Signed APK dialog is displayed which asks for the key details. After giving the details and clicking Next, there is a dialog which asks for APK Destination Folder, Build Type, Flavors and Signature Versions. Against Signature Versions, check the box for V1 (Jar Signature).

Share

Karunesh Johri

Software developer, working with C and Linux.