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

Kelvin Lam
Kelvin Lam
1,285 Points

I got an error saying " pkg: /data/local/tmp/KelvinLam.funfacts Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]"

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

I got this error when i try to run my app on the android emulator, the emulator loaded up but the app won't run,

Kelvin Lam
Kelvin Lam
1,285 Points

my xml file is the following:

<?xml version="1.0" encoding="UTF-8"?>

-<manifest android:versionName="1.0" android:versionCode="1" package="KelvinLam.funfacts" xmlns:android="http://schemas.android.com/apk/res/android">

<uses-sdk android:targetSdkVersion="19" android:minSdkVersion="14"/>

-<application android:theme="@style/AppTheme" android:label="@string/app_name" android:icon="@drawable/ic_launcher" android:allowBackup="true">

-<activity android:label="@string/app_name" android:name="KelvinLam.funfacts.FunFactsActivity">

-<intent-filter>

<action android:name="android.intent.action.MAIN"/>

<category android:name="android.intent.category.LAUNCHER"/>

</intent-filter>

</activity>

</application>

</manifest>

Kelvin Lam
Kelvin Lam
1,285 Points

I dodged the issue by restart a new project file with no capital letters in any of my project names.

However I would like to know why it is the case that this error message appeared when I have capital letters and how to actually fix it. Seem like an odd restriction to not allow any capital letter in your project names....

1 Answer

Harry James
Harry James
14,780 Points

Closing duplicate post - see solution at this post.