我有一个用于外部JAR的android应用程序,当我尝试部署到设备或模拟器时,我开始出现这个错误。
[2012-12-07 00:06:17 - testsuite] Installation error: INSTALL_FAILED_DEXOPT
[2012-12-07 00:06:17 - testsuite] Please check logcat output for more details.
[2012-12-07 00:06:17 - testsuite] Launch canceled!
和logcat输出
12-07 00:06:16.251: E/dalvikvm(404): Out-of-order method_idx: 0xffff then 0x1
12-07 00:06:16.251: E/dalvikvm(404): Trouble with item 3934 @ offset 0x6aead0
12-07 00:06:16.251: E/dalvikvm(404): Swap of section type 2006 failed
12-07 00:06:16.261: E/dalvikvm(404): ERROR: Byte swap + verify failed
12-07 00:06:16.281: E/dalvikvm(404): Optimization failed
12-07 00:06:16.301: W/installd(34): DexInv: --- END '/data/app/com.xxx.testsuite-1.apk' --- status=0xff00, process failed
12-07 00:06:16.301: E/installd(34): dexopt failed on '/data/dalvik- cache/data@app@com.xxx.testsuite-1.apk@classes.dex' res = 65280
错误似乎与其中一个外部JAR有关,如果我将这个JAR移动到它工作的eclipse项目(但我不想这样做)
有关如何追踪此问题的任何想法?