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?
adb install -r test.apk
-r to reinstall.
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.
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, " ".