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 an Interactive Story App (Retired) Finishing the User Interface Customizing the Buttons

Jordan Ernst
Jordan Ernst
5,121 Points

session "app" error.

Waiting for device. Target device: samsung-sm_g870w-61e44403 Uploading file local path: C:\Users\insan_000\AndroidStudioProjects\InteractiveStory\app\build\outputs\apk\app-debug.apk remote path: /data/local/tmp/com.teamtreehouse.interactivestory Installing com.teamtreehouse.interactivestory DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.teamtreehouse.interactivestory" pkg: /data/local/tmp/com.teamtreehouse.interactivestory Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

this is what is displayed when i have attempted to use my device as well as use the emulator on android studio. what is going on?

Jordan Ernst
Jordan Ernst
5,121 Points

So i decided to refactor my packages into the com.treehouse.interactivestory package and this cleared up the error. so i moved the Ui and the Model into this package and it looks like it is working now

1 Answer

Hi there,

Try restarting Android Studio - that can clear some intermittent bugs.

Failing that, this post contains Pauliina K 's solution to a similar issue.

Let us know if you get fixed!

Steve.

Jordan Ernst
Jordan Ernst
5,121 Points

this didn't work as well i had also tried it before today. so there is a bug somewhere else