Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Failure [INSTALL_FAILED_DEXOPT] Getting this error frequently on Android Studio ?

I am unable to install and run my app in android studio. Went through numerous forums which advised cleaning and rebuilding. Tried all these. This happens even when i am running an app on an emulator for the first time(app run first time + emulator run first time). I also getting a message from the emulator to uninstall and reinstall package "Installation failed since the device possibly has stale dexed jars that don't match the current version (dexopt error). In order to proceed, you have to uninstall the existing application.

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?"

The application dint get installed on the first place. Why is this happening. I tried default android emulator as well as genymotion - still it is not working.

1 Answer

An update this happens only on Android Studio. I have tried resetting the Android studio as well.