Installation Failed Since The Device Possibly Has Stale Dexed Jars That Don't Match The Current Version (dexopt Error)
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:
- Go to ADV-Manager
- Select the Edit Button of the corresponding device under "Actions"
- Click "Show Advanced Settings"
- 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:
- stop emulator
- cd ~/.android/avd/[emulator name].avd
- rm *.lock
- wipe emulator
- 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)"