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
Can an Android App Connect Directly to an Online MySQL Database
How to Catch Sigsegv (Segmentation Fault) and Get a Stack Trace Under Jni on Android
How to Encrypt File from Sd Card Using Aes in Android
Email Address Validation in Android on Edittext
Couldn't Locate Lint-Gradle-Api-26.1.2.Jar for Flutter Project
How to Make Alarm Manager Work When Android 6.0 in Doze Mode
Panic: Broken Avd System Path. Check Your Android_Sdk_Root Value
How to Shrink Code - 65K Method Limit in Dex
Android - Get Children Inside a View
How to Add an Image on Edittext
Android - Webview Language Changes Abruptly on Android 7.0 and Above
How to Get the Correct Orientation of the Image Selected from the Default Image Gallery
Sending Text Messages Programmatically in Android
Marking Sms Messages as Read/Unread or Deleting Messages Not Working in Kitkat
Passing Data Between Activities in Android
Adt 22.2 New App Wizard: Unsupported Template Dependency: Upgrade Your Android Eclipse Plugin