I recently ran into the error "INSTALL_PARSE_FAILED_MANIFEST_MALFORMED" while trying to run my android project on Emulator,
[2014-11-19 15:28:41 - AndroidApp] Android Launch!
[2014-11-19 15:28:41 - AndroidApp] adb is running normally.
[2014-11-19 15:28:41 - AndroidApp] Performing com.example.android.MainActivity activity launch
[2014-11-19 15:28:41 - AndroidApp] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2014-11-19 15:28:42 - AndroidApp] Uploading AppName.apk onto device S0708552ae
[2014-11-19 15:28:43 - AndroidApp] Installing AppName.apk...
[2014-11-19 15:28:43 - AndroidApp] Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
[2014-11-19 15:28:43 - AndroidApp] Please check logcat output for more details.
[2014-11-19 15:28:43 - AndroidApp] Launch canceled!
There was nothing wrong (no stack traces or error messages) detected in logCats, nor there was an error in the Project folder itself.
But the error message is self-explanatory to point out that the Manifest file has malformed.
So just checked the AndroidManifest.xml file to look for the reason, I found that there was a tag with no attributes, I just removed it and the app worked fine.
I hope it helps someone who is facing such an issue.
More Posts related to Android,
- Change Android Toast background color
- Maven : java.lang.ClassNotFoundException: Xmx512m
- This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView) Lint Error
- Android Alert Dialog with Checkboxes example
- Android Error Generating Final Archive - Debug Certificate Expired
- How to add Newline to text in Android TextView
- Read Text file from SD Card : Android Programming
- [FIX] AndroidRuntime: FATAL EXCEPTION: main - java.lang.RuntimeException NullPointerException
- ActivityManager Warning: Activity not started, its current task has been brought to the front
- INSTALL_FAILED_INSUFFICIENT_STORAGE Android Error
- Android Developers Bluetooth Tutorial
- java.lang.ClassNotFoundException android.support.v7.widget.Toolbar [Fix]
- Android: Save Data in local Db using Android Room
- Channel 50 SMSes received every few minutes Android Phones
- 21 Useful Android Emulator Short-cut Keyboard Keys
- Changing Android Intent Tittle using java code
- Android : No Launcher activity found! Error
- How to change TextView or EditText Text Color on Focus and on Press
- How to display Toast on Button Click : Android
- Android : Execute some code after back button is pressed
- Stop android adb service from command prompt or terminal
- [Soluiton] You already have the latest version of Android Studio installed
- Create Custom Android AlertDialog
- Android R Cannot Be Resolved To A Variable
- How to make Android EditText not editable
More Posts:
- Terminal display next month Calendar - Linux
- Unbound classpath container: JRE System Library [JavaSE-1.7] - Java
- INSTALL_FAILED_INSUFFICIENT_STORAGE Android Error - Android
- Bootstrap tooltip not working - Bootstrap
- SharePoint formula - Calculated columns cannot contain volatile functions like Today and Me - SharePoint
- SharePoint 2010 August 2015 Update KB3055049 - Duplicate Document ID issue bug fixed - SharePoint
- [Solution] Java Error Code 1603. Java Update did not complete. - Java
- 25 Notepad++ Command Argument List - NotepadPlusPlus