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

Fun Fact problem to run on emulator - a different message

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

I got the above message trying to run the Fun Fact on emulator, any help?

1 Answer

First, what ever unwanted happens with emulator I try it twice. After restart.

In manifest file one of the common mistakes is to put capital letters in the package name: package="com.example.boris.funfacts"

The other is that the names of activities should have a preceding dot: android:name=".FunFactsActivity".

If this doesn't help you should post manifest file here.

My mistake was the capital letters one, sorted out now - Thank you Boris!

You're welcome! Check this post as solved.