installation failed since the device possibly has stale dexed jars that don't match the current version (dexopt error)

前端 未结 8 1635
忘掉有多难
忘掉有多难 2021-01-07 16:18

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.

8条回答
  •  滥情空心
    2021-01-07 17:10

    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

提交回复
热议问题