2

I got this issue when i install my app in the android device with api level above 20

/packageName E/AndroidRuntime: FATAL EXCEPTION: main

When install the same app in android devices with api level 20 getting this issue

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?

Can anyone help me with this issue.

gdinesh029
  • 81
  • 9

2 Answers2

1

If someone comes here looking for answers, here's what I did..
Close Emulator.
Tools > AVD Manager > Select Emulator Settings > Wipe Data > Cold Boot..
Now Install App.

Darshan
  • 4,020
  • 2
  • 18
  • 49
0

Clean and Rebuild your application and also restart your device. It will surely help you.

Dhalloo
  • 155
  • 3
  • 14