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) Getting Started with Android Running the Fun Facts Project

Kyler Smith
Kyler Smith
10,110 Points

Error: pkg: /data/local/tmp/Kyler.funfacts Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

Same question as a few below! I tried changing my package name to exclude capitals but it then causes other errors. I will try to find a neat way to post the code ASAP.

pkg: /data/local/tmp/Kyler.funfacts Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

 <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="Kyler.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> 

Can you please post your Manifest.xml?

Kyler Smith
Kyler Smith
10,110 Points

Done I edited the original. Thank you!

1 Answer

Ben Deitch
STAFF
Ben Deitch
Treehouse Teacher

Yep, you can't have capital letters in your package name. And, while it is possible, it's kind of a pain to change your package name after the fact. It's probably easiest to just start over with a lowercase package name, and then copy/paste over all the files.

Also, somehow you've found the older version of this course. Here's a link to the newer version if you're interested :)