Unable install app into emulator 2.3.3 : INSTALL_FAILED_DEXOPT

后端 未结 4 1784
深忆病人
深忆病人 2021-01-13 13:36

I use the latest adt-bundle-windows-x86_64-20130717, with

  • Android SDK Tools - 22.0.4
  • Android SDK Platform-tools - 18

I ha

4条回答
  •  臣服心动
    2021-01-13 14:28

    Most of the time associated with excessive values for LinearAlloc. Putting verbose mode for logcat could give you more details (can even pinpoint the problem).

    There no definite fix I heard of.Sometimes it can be fixed by wiping AVD, some get fix by increasing SD card only, some had to recreate new AVD, some fixed it by reinstalling ADT, there are lots of fixes people speak of, answer can be varied as actual problem.

    Sometimes problem can be corrupted files, or application install entries which makes android confused whether app is installed or not. Or by use of complex libraries, or even problem with the compiler itself.

    There's not a lot of clear information on this error from Google, they say it is related to a bug in Android OS that doesn't frees files handles in some cases. However as looking to logcat it always connected to some dex files. and so as to DDMS and compiler.

    I suggest you to try all of the fixes I stated, also refer the given links

    Issue 22586: Dexopt fails with "LinearAlloc exceeded" for deep interface hierarchies

    Cleanup redundant interfaces from iftable to avoid excessive LinearAlloc use

    Issue 42538: INSTALL_FAILED_DEXOPT solved by dex.disable.merger=true


    If everything failed please put your verbose logcat

提交回复
热议问题