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

Antoine DuBois
Antoine DuBois
3,130 Points

I am unable to run the app on my emulator

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

when I run the emulator this is the message I get. Ive even gone as far as to delete the fun facts file along with android studios and its corresponding project folder and re-downlaoding them and I am strfill unable to run the app on the emulator.

1 Answer

It's hard to solve this problem without seeing your code. I'm willing to bet its in the Android Manifest file.

A few of my guesses are :

1.) You used a comment of // in the .xml file.

2.) Naming of your package file. You shouldn't have capital levels Example : package="com.example.farber.funfacts" > MyName violates this

Could you paste your Manifest so I can look at it closer to see where the error is?

Antoine DuBois
Antoine DuBois
3,130 Points

Thanks for your help. No need to post manifest. The answer to the problem i was having was #2! Thanks again