Ashutosh Dash
Ashutosh Dash

Reputation: 610

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

Upvotes: 17

Views: 26838

Answers (4)

Rahul
Rahul

Reputation: 865

com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Local path doesn't exist.

One more addition:- Delete the build folder under Android->App and then re-run the project.

Upvotes: 0

Srijwal R
Srijwal R

Reputation: 573

Uninstall the existing app with the same package name(google service file with the same package) from the phone. Hope this helps someone.

Upvotes: 4

CacheMeOutside
CacheMeOutside

Reputation: 737

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)

Upvotes: 21

Ashutosh Dash
Ashutosh Dash

Reputation: 610

By cleaning cache and making more space in android emulator helped me to resolve it.

Upvotes: 8

Related Questions