How to fix INSTALL_PARSE_FAILED_MANIFEST_MALFORMED in my android application

Change name package with Caps letters to little letters.


<activity android:name="MainActivity"

should be formed like

<activity android:name="com.company.appname" 

to do this without errors go to package (right click) > android tools > rename app package


Change your

android:name="MainActivity"

TO

android:name=".MainActivity"

OR add the fully qualified package name in lowercase before your class name

android:name="thepackage.MainActivity"

Do change all the attributes named as android:name inside the activity tags as I suggested.


Instead of:

<permission android:name="android.permission.C2D_MESSAGE" android:protectionLevel="signature"/>

to:

<uses-permission android:name="android.permission.C2D_MESSAGE" android:protectionLevel="signature"/>

Try that.