How to install apk with odex in emulator?

I am making apk with odex on Android 4.0. And try installing it in the emulator.

adb shell install test.apk

Receive error message - Failure Failure [INSTALL_FAILED_DEXOPT]. Also try clicking apk and odex file in / system / app, it does not work. How to install this apk?

+5
source share
2 answers
adb install -r test.apk

-r to reinstall.

Update:

If you encounter the error [INSTALL_FAILED_DEXOPT], you need to uninstall the old version of the application. The two applications may have the same package name, so uninstall the application that has the same package as your application.

0
source

It seems that apk is already installed, you need to remove apk using the package name

adb uninstall com.sunil// com.sunil is the package name of application

ODEX, , Android SDK AVD Manager, " ".

0

All Articles