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

George Pirchalaishvili
George Pirchalaishvili
3,747 Points

Can you post your AndroiManifest code here?

Cody Soto
Cody Soto
489 Points

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

Patrick Larkin
Patrick Larkin
1,538 Points

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]'''

George Pirchalaishvili
George Pirchalaishvili
3,747 Points

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

Gaurav Gurnaney
Gaurav Gurnaney
285 Points

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

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

Thanks!