Installation Error: Install_Parse_Failed_Manifest_Malformed

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

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

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?

When I Update my Phone to Android 12, Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

Try to use this tag in your AndroidManifest.xml file for the activity

<activity 
android:name=".MainActivity"
android:exported="true">

Android - Installation failed with message: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

The error message is non intuitive at all. You have a package that has a capital letter. Utils should be changed to util. Once the package name is changed switch it in your manifest to be:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="kalianey.com.bonnieandclit" >

<application
android:name="utils.KYController"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Register"
android:label="@string/title_activity_register" >
</activity>
<activity
android:name=".People"
android:label="@string/title_activity_people" >
</activity>
</application>
</manifest>

Notice Utils.KYController was changed to utils.KYController

Once you make that package name change the problem will be fixed.

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



Leave a reply



Submit