Tag Archives: ——INSTALL_FAILED_DEXOPT

Solution to andorid installation error — install_ FAILED_ DEXOPT

Why can’t you stop buying 618?From the technical dimension to explore>>>

Today, when the application is installed on Android 2.3, the program cannot be installed, and installation appears on the console error:INSTALL_ FAILED_ Error in dexopt

Therefore, we checked the information on the Internet to find out the cause of this problem: in the early Android versions, when the jar file was converted to DEX
file, the

When the number of classes exceeds 65535, the program cannot pass the verification, so it cannot be installed

My temporary solution is to delete useless packages, which seems stupid but useful. On the one hand: our application should use a lot of open source jar packages, many of which have been abandoned. On the other hand: the transformation of our business logic leads to a lot of code that we have written that is no longer used. Now our program is really bloated, so we should take this opportunity to lose weight. We can scan through ucdetector, the plug-in of eclipse, find out the invalid code, modify or delete it