Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_DEXOPT

i am getting the error while running my app in android emulator

com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_DEXOPT

like image 428
Ashutosh Dash Avatar asked Apr 05 '19 05:04

Ashutosh Dash


1 Answers

You probably need to allocate more internal memory to your emulator. This can be done by:

  1. Opening Android Virtual Device Manager...

  2. Edit the device you're having a problem with.

enter image description here 3. Show Advanced Settings (see yellow arrows below)

enter image description here

  1. Increase the internal storage to 5120MB

enter image description here

  1. Restart the emulator (cold boot)
like image 52
CacheMeOutside Avatar answered Sep 23 '22 07:09

CacheMeOutside