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 trialRoy Fu
253 PointsHow Do I Fix this error: [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
When i run my emulator to test the app, i get the error saying
pkg: /data/local/tmp/Fu_x2.funfacts Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
What should i do to fix this error
1 Answer
James Simshaw
28,738 PointsHello,
Your package name has a capital letter in it. Try refactoring your package so that all the letters are lowercase. To do this, in the panel for your project, make sure you're in Android view mode, then click the gear that is a little to the right of the view indicator, then make sure compact empty middle packages is unchecked. Next, right click on your package with a capital letter in it and select refactor -> rename. Change it to have a lower case, double check your AndroidManifest.xml is now a lower case, if not, manually edit it.