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

Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

Can someone show me how to fix this. it was answered somewhere else, but I did not understand it there.

1 Answer

Hello,

It is likely that your package has a capital letter in the path somewhere. For example, "com.example.FunFacts" as a package would cause this error. All letters in the package need to be lowercase, "com.example.funfacts" from our previous example would be correct. To change this you need to put Android Studio into project view. Then right click on your project and go to refactor, then rename. This should get most of what you need to change, but you need to make sure it updated in your package variable of your java files and in your build.gradle files. This youtube video hopefully will help visually for what I am trying to say. If you have any more questions, please let me know and I will try to help.