[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!