Android App Installation Failed: Package com.my.app has no certificates at entry AndroidManifest.xml
Try to signed your APK with version 1. Version 2 signed APK only
compatible from 7.0 so it will not working on below 7.0 devices or try
to generate v1 and v2 version APK.[ Note: When you generate signed apk for above 7.0 devices and below 7.0 devices then please check v1 and v2 both option. ]
Here is the reference link for more about V2 version and here is the link for overview.
Try this out and Your issue will resolved.
PackageParserException: Package ...base.apk has no certificates at entry AndroidManifest.xml
Today I've updated Android Studio to 3.3 and encountered the same issue.
I fixed it after delete Build folder, Clean Project, Invalidate Caches/Restart.
And after that I could generate signed application via Build -> Generate Signed Bundle/APK with only V1 signature.
Build signed application with signingConfigs release still doesn't work.
You can try my solution.
What is INSTALL_PARSE_FAILED_NO_CERTIFICATES error?
Did you edit the AndroidManifest.xml
directly in the .apk
file? If so, that won't work.
Every Android .apk
needs to be signed if it is going to be installed on a phone, even if you're not installing through the Market. The development tools work round this by signing with a development certificate but the .apk
is still signed.
One use of this is so a device can tell if an .apk
is a valid upgrade for an installed application, since if it is the Certificates will be the same.
So if you make any changes to your app at all you'll need to rebuild the .apk
so it gets signed properly.
Android app fails to install on 4.2.2. but works on newer versions.
JDK 8 keytool uses SHA256 as default whereas Android 4.3 and below only support APKs being signed with SHA1.
Use the following command to generate a certificate with the appropriate algorithm:
keytool -genkey -keyalg RSA -sigalg SHA1withRSA ...
You may check your old and new certificate with
keytool -list -v -keystore <CERTIFICATE-STORE>
Related Topics
Attempt to Reopen an Already-Closed Object SQLitedatabase
Objectanimator Animate Linearlayout Width
How to Set Camera Image Orientation
Trying to Fix Networkonmainthreadexception But Gives Toast Error
Howto Do a Simple Ftp Get File on Android
CSS3 Animation Flicker on Android 2.2 (Webkit-Transform:Translate(..) Scale(..) at The Same Time)
Why Does Calling Getwidth() on a View in Onresume() Return 0
Flag_Activity_New_Task Clarification Needed
Searchview in Centre and After Focus It Goes to App Bar in Android
Flutter: How to Fix "A Renderflex Overflowed by Pixels " Error
Arrayindexoutofboundsexception with Custom Android Adapter for Multiple Views in Listview
Layout Problem with Button Margin
Why Does Flag_Activity_Clear_Top Not Work
Finish an Activity After a Time Period
How to Work-Around the Blank Title in Pagertitlestrip and Pagertabstrip
How to Display List of Resource Drawables