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 Adding a Button

Pauliina K
Pauliina K
1,973 Points

INSTALL_PARSE_FAILED....

Hi, I am trying to run the app, but just get this error message. I've tried to google it and everyone says you just have to change your package name to all lowercase letters, but it already is, so I don't get what the problem is?

Waiting for device.
Target device: Android442 [emulator-5554]
Uploading file
    local path: D:\Projects\FunFacts\app\build\outputs\apk\app-debug.apk
    remote path: /data/local/tmp/Pauliina.funfacts
Installing Pauliina.funfacts
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/Pauliina.funfacts"
pkg: /data/local/tmp/Pauliina.funfacts
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

Have you tried changing Pauliina to pauliina too? Package is pkg: /data/local/tmp/Pauliina.funfacts

If that doesn't work we'll have to think of something better!!

Steve.

Pauliina K
Pauliina K
1,973 Points

I can't seem to find the Pauliina-thing. I found it in one place in the file explorer. I changed that to pauliina, but it didn't change anything. I can't find anything named Pauliina inside the project (in Android Studio). So I don't know where to look or what to do now?

A fine question ...

And if I knew the answer to it I'd have replied by now ... ;-)

keeps looking

Pauliina K
Pauliina K
1,973 Points

Thanks! I'll do the same.

Pauliina K
Pauliina K
1,973 Points

Ouuhhh, I fixed it!! I had forgotten to uncheck the Compact Empty Middle Packages. And once I had fixed that and changed Pauliina to pauliina, I forgot to clean the project. It now works perfectly! Thanks!

Dammit!!

Have you removed Parse and then put it back again?

That used to be easier before Gradle - you just deleted stuff. Not too sure how it works now!

Can you post your mainfest file - there may be something in there.

Steve.

Pauliina K
Pauliina K
1,973 Points

I just got it to work! Woo!

\o/ Woohoo!! :-D