Reputation: 610
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
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
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
Reputation: 737
You probably need to allocate more internal memory to your emulator. This can be done by:
Opening Android Virtual Device Manager...
Edit the device you're having a problem with.
3. Show Advanced Settings (see yellow arrows below)
Upvotes: 21
Reputation: 610
By cleaning cache and making more space in android emulator helped me to resolve it.
Upvotes: 8