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

It comes up with error Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

It comes up everytime

4 Answers

Can you post your AndroiManifest code here?

If your package name has caps that could be the issue. I suggest creating a new package name.

how do i create a new package name?

how do i create a new package name?

I am getting the same problem and haven't figured out the answer yet. below is the code i see.

'''Waiting for device. Target device: Android442 [emulator-5554] Uploading file local path: /Users/patricklarkin/AndroidStudioProjects/FunFacts/app/build/outputs/apk/app-debug.apk remote path: /data/local/tmp/PLarkin.funfacts Installing PLarkin.funfacts DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/PLarkin.funfacts" pkg: /data/local/tmp/PLarkin.funfacts Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]'''

you should post your android manifest code in order for someone to help you

Hi, i'm getting the same error as below:

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

Thanks!