Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (2014) Creating the Screen Layout Getting to Know Our Tools

Antone Bagnall
Antone Bagnall
6,744 Points

"INSTALL_PARSE_FAILED_MANIFEST_MALFORMED" error. Still appears after I clean and rebuild, any help?

The error is INSTALL_PARSE_FAILED_MANIFEST_MALFORMED, although there are no errors in the code. The emulator also does not show the hello world program although I assume that is a result of the error?

Any help would be greatly appreciated!

2 Answers

Can you post the contents of your Android Manifest file, please?

I Googled your problem and came across this which has some interesting solutions that are worth trying.

Steve.

Antone Bagnall
Antone Bagnall
6,744 Points
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="ABstudios.funfacts" >

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".FunFactsActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

As in the Stack Overflow post, there are a few things that you can try.

One theme that is recurring is using lower case letters for package names so if you change package="ABstudios.funfacts" to be package="abstudios.funfacts" that might help.

Steve.