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

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

This is what is says every time i try to build my app in android studio. i have no idea what the problem is.

Hello,

It means there's some problem with your final AndroidManifest.xml file. The problem could be in either your base AndroidManifest.xml file or your build.gradle files. If you can post those, we can take a look and try to help you further.

3 Answers

Hello,

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.

Hey man i dont know what happened. i made a new project and ran it. Now it works fine, but it still says this in the Gradle when it builds:

04-20 19:41:41.012 1339-1339/com.teamtreehouse.funfacts E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from GradienCache 04-20 19:41:41.012 1339-1339/com.teamtreehouse.funfacts E/OpenGLRenderer﹕ MAX_TEXTURE_SIZE: 16384 04-20 19:41:41.024 1339-1339/com.teamtreehouse.funfacts E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from Caches::initConstraints() 04-20 19:41:41.028 1339-1339/com.teamtreehouse.funfacts E/OpenGLRenderer﹕ MAX_TEXTURE_SIZE: 16384

should i worry about this?

Hey man i dont know what happened. i made a new project and ran it. Now it works fine, but it still says this in the Gradle when it builds:

04-20 19:41:41.012 1339-1339/com.teamtreehouse.funfacts E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from GradienCache 04-20 19:41:41.012 1339-1339/com.teamtreehouse.funfacts E/OpenGLRenderer﹕ MAX_TEXTURE_SIZE: 16384 04-20 19:41:41.024 1339-1339/com.teamtreehouse.funfacts E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from Caches::initConstraints() 04-20 19:41:41.028 1339-1339/com.teamtreehouse.funfacts E/OpenGLRenderer﹕ MAX_TEXTURE_SIZE: 16384

should i worry about this?