How to fix INSTALL_PARSE_FAILED_MANIFEST_MALFORMED in my android application
Change name package with Caps letters to little letters.
INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
There is more than one problem as RC. and I found out.
- Change all your package names to lowercase
- Update the
<meta-data>
attribute to have a valid value.
Correct code for the meta data:
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
Sources:
- Google Play Services v13 error meta-data in AndroidManifest
- Why should java package name be lowercase?
INSTALL_PARSE_FAILED_MANIFEST_MALFORMED error
As with error description in error, it's about LeakLauncherActivity
leakcanary.internal.activity.LeakLauncherActivity: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present
And it looks like this issue has been fixed in new version of leak canary lib.
https://github.com/square/leakcanary/issues/2076
Failure INSTALL PARSE FAILED MANIFEST MALFORMED
I was having this error because i had capital letters in my package name like this.
Com.Droider.packagename;
After i had changed it to something like:
com.droider.packagename;
In your case try to change it to:
work.work;
EDIT 1 :
May be this causes also.
android:name="MainActivity"
Change this to.
android:name=".MainActivity"
INSTALL_PARSE_FAILED_MANIFEST_MALFORMED error while installing app android
Your meta data is incorrect:
<meta-data android:name="android.support.multidex.MultiDexApplication" />
As stated in the api a meta-data tag is a name-value pair and needs a value or resource. It must be for example:
<meta-data android:name="android.support.multidex.MultiDexApplication"
android:value="@string/yourValue" />
or
<meta-data android:name="android.support.multidex.MultiDexApplication"
android:resource="@string/yourValue" />
Change this, delete your app from device, clean project and reinstall it.
Related Topics
What Does '->' (Arrow) Mean in Gradle's Dependency Graph
Why Do We Have to Call Super in Android Sometimes
Android (Java) Simple Send and Receive with Server - Fast Setup Challenge
How to Make Edittext Not Focused When Creating Activity
Encrypt with Node.Js Crypto Module and Decrypt with Java (In Android App)
Getlocationonscreen() VS Getlocationinwindow()
Android: Why Setvisibility(View.Gone); or Setvisibility(View.Invisible); Do Not Work
How to Avoid Unnecessary Firestore Reads with Cache
Issue: Passing Large Data to Second Activity
How Get Value from Linkedhashmap Based on Index Not on Key
How Many Ways to Convert Bitmap to String and Vice-Versa
Enabling Specific Ssl Protocols with Android Webviewclient
Convert String to Date in Java
Sqliteopenhelper Failing to Call Oncreate
Android: Changing Background-Color of the Activity (Main View)
Android - How to Change Fragments in the Navigation Drawer
How to Apply Custom Filters in a Camera [Surfaceview Preview]...