Skip to content Skip to sidebar Skip to footer

Installation Failed Since The Device Possibly Has Stale Dexed Jars That Don't Match The Current Version (dexopt Error)

I am unable to run app from android studio to my samsumg phone running android 2.3.6. I am getting Application installation Failed popup refer below screenshot. when I click on OK

Solution 1:

This usually happens because your device doesn't have enough space in memory.

Delete some apps and try again

Solution 2:

When i got this error, i was using a Nexus 4 in the AVD-Manager. By default this device was created with 500MB internal storage. I increased the storage to 2048MB and the "stale dexed" error was gone.

To increase the internal Storage:

  1. Go to ADV-Manager
  2. Select the Edit Button of the corresponding device under "Actions"
  3. Click "Show Advanced Settings"
  4. Increase your internal Storage

Solution 3:

In case it's an Android Emulator giving you a "stale dexed" message, this helped for me on a Mac:

  1. stop emulator
  2. cd ~/.android/avd/[emulator name].avd
  3. rm *.lock
  4. wipe emulator
  5. start emulator

Solution 4:

I solved this by Wiping data .

Android Studio -> AVD Manager -> Actions -> Wipe Data

Solution 5:

It seems like your emulator low on disk space. But after you increase your disk space you still get error.

I faced the same problem, increase disk space and do factory reset for the emulator worked as well for me. To reset your emulator go to Settings -> Backup and Restore inside the emulator then reset.

Post a Comment for "Installation Failed Since The Device Possibly Has Stale Dexed Jars That Don't Match The Current Version (dexopt Error)"