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) Creating the Screen Layout Using a Fullscreen Theme

Marco Gibran Salcedo Arellano
Marco Gibran Salcedo Arellano
581 Points

I cannot launch my app on the emulator

Waiting for device. Target device: kitkat [emulator-5554] Uploading file local path: C:\Users\MarcoGibrán\AndroidStudioProjects\MyApplication2\app\build\outputs\apk\app-debug.apk remote path: /data/local/tmp/Marco.myapplication Installing Marco.myapplication DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/Marco.myapplication" pkg: /data/local/tmp/Marco.myapplication Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

1 Answer

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.