[Android] INSTALL_PARSE_FAILED_MANIFEST_MALFORMED error and Not targeting the latest versions warning, androidmanifest. xml

Source: Internet
Author: User

[Android] INSTALL_PARSE_FAILED_MANIFEST_MALFORMED error and Not targeting the latest versions warning, androidmanifest. xml

I. error Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED in the Console

In Android development, if you choose to run it, the Android app starts with ADT.

If the app cannot be used for Android, you will encounter an Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED error in the console, for example:


Then go to Logca to see the Couldn't load memtrack module (No Such file or directory). Then, a bunch of screens cannot be started, for example:


This is because your AndroidManifest. xml file is not written.

There are many causes. Sometimes, AndroidManifest. xml errors are not reported in eclipse in a timely manner, which may also cause startup failure. This requires you to manually check whether there is a meaningless space, whether the case is not written, and so on, especially those Activity execution classes.

When Android is started, read AndroidManifest. xml first. This AndroidManifest. xml is not passed and will not be compiled for you at all.


2. Warn Not targeting the latest versions of Android in AndroidManifest. xml

This warning won't run any app, but it looks good.

For example,


This warning usually displays the line of your target app:

<uses-sdk        android:minSdkVersion="8"        android:targetSdkVersion="16" />
The cause of this warning is that the targetSdkVersion is not the latest version, so you can change it to the latest version of the local SDK or update the SDK.

Google wants you to update the Android version, but the problem is that Android 2.2-4.4 is basically used for development now. Who can update it for you?

So ignore this error!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.