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

Munachi Ozoemelam
3,948 PointsRun FunFact app failed in Android Studio [INSTALL_FAILED_DEXOPT]
I see this error when I try to run the FunFact app
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.teamtreehouse.funfacts"
pkg: /data/local/tmp/com.teamtreehouse.funfacts
Failure [INSTALL_FAILED_DEXOPT]
I have tried to run the app severally even after uninstalling all instances on the virtual device but it keeps bringing same error.
One time it worked after clearing Android studio Cache and restarting my computer, but now nothing I try works
Please help!
2 Answers

Martynas Buinevičius
1,037 PointsI got the same problem on android studio with genymotion. At the end of everything it says "Unknown failure". Anything I can do to make this work?
Maurits Pallesen
9,770 Pointsasd
Martynas Buinevičius
1,037 PointsMartynas Buinevičius
1,037 PointsI found a solution: Build > Clean project Build > Rebuild project