尝试安装应用程序时出现 INSTALL_FAILED_DEXOPT 错误 [英] INSTALL_FAILED_DEXOPT error when trying to install application

查看:28
本文介绍了尝试安装应用程序时出现 INSTALL_FAILED_DEXOPT 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了与此处列出的问题类似的问题此处.>

每次我尝试在摩托罗拉 Xoom 上安装我的应用程序时,都会收到 INSTALL_FAILED_DEXOPT 错误.

这是来自控制台的错误消息:

[2011-08-02 09:34:43 - Blade] 安装错误:INSTALL_FAILED_DEXOPT[2011-08-02 09:34:43 - Blade] 请检查 logcat 输出以了解更多详细信息.[2011-08-02 09:34:43 - Blade] 发射取消!

这里是对应的logcat:

08-02 09:47:48.910: ERROR/PackageManager(142): 包 com.theisenp.blade 的 uid 不匹配:磁盘上的 10023,设置中的 1007308-02 09:47:48.910: INFO/PackageManager(142): 链接/data/app/com.theisenp.blade-1.apk 的本地库目录08-02 09:47:49.110:错误/dalvikvm(2094):重复界面:'Lgnu/trove/TIntIntProcedure;'08-02 09:47:49.110: 错误/dalvikvm(2094): 项目 1108 @ offset 0x5d49c 有问题08-02 09:47:49.110:错误/dalvikvm(2094):部分类型 0006 的跨项目验证失败08-02 09:47:49.110:错误/dalvikvm(2094):错误:字节交换+验证失败08-02 09:47:50.140:错误/dalvikvm(2094):优化失败08-02 09:47:50.150:警告/安装(91):DexInv:---结束'/data/app/com.theisenp.blade-1.apk'---状态=0xff00,进程失败08-02 09:47:50.150: 错误/安装 (91): dexopt 在 '/data/dalvik-cache/data@app@com.theisenp.blade-1.apk@classes.dex' res = 65280 上失败08-02 09:47:50.160: WARN/PackageManager(142): 包无法安装在/data/app/com.theisenp.blade-1.apk

这是我迄今为止尝试过的:

  • 在运行配置"->目标"菜单中选择擦除用户数据"选项.(虽然我在此选项卡中只能看到模拟器,而不能看到我的物理设备.也许我实际上并没有从 Xoom 中擦除用户数据?)
  • 在尝试重新安装之前从我的设备中卸载应用
  • 多次重启设备

非常感谢您提供的任何建议!

解决方案

尝试卸载此应用,以及在您的设备上拥有您签名的所有其他应用(您的其他应用).清理您的项目并重新启动安装.此外,您应该考虑通过另一种方式 ADB 安装您的应用程序,例如使用 dropbox.

I have a similar problem to the ones listed here and here.

I am getting an INSTALL_FAILED_DEXOPT error every time I try to install my app on my Motorola Xoom.

Here is the error message from the console:

[2011-08-02 09:34:43 - Blade] Installation error: INSTALL_FAILED_DEXOPT
[2011-08-02 09:34:43 - Blade] Please check logcat output for more details.
[2011-08-02 09:34:43 - Blade] Launch canceled!

And here is the corresponding logcat:

08-02 09:47:48.910: ERROR/PackageManager(142): Package com.theisenp.blade has mismatched uid: 10023 on disk, 10073 in settings
08-02 09:47:48.910: INFO/PackageManager(142): Linking native library dir for /data/app/com.theisenp.blade-1.apk
08-02 09:47:49.110: ERROR/dalvikvm(2094): Duplicate interface: 'Lgnu/trove/TIntIntProcedure;'
08-02 09:47:49.110: ERROR/dalvikvm(2094): Trouble with item 1108 @ offset 0x5d49c
08-02 09:47:49.110: ERROR/dalvikvm(2094): Cross-item verify of section type 0006 failed
08-02 09:47:49.110: ERROR/dalvikvm(2094): ERROR: Byte swap + verify failed
08-02 09:47:50.140: ERROR/dalvikvm(2094): Optimization failed
08-02 09:47:50.150: WARN/installd(91): DexInv: --- END '/data/app/com.theisenp.blade-1.apk' --- status=0xff00, process failed
08-02 09:47:50.150: ERROR/installd(91): dexopt failed on '/data/dalvik-cache/data@app@com.theisenp.blade-1.apk@classes.dex' res = 65280
08-02 09:47:50.160: WARN/PackageManager(142): Package couldn't be installed in /data/app/com.theisenp.blade-1.apk

Here's what I've tried so far:

  • Selecting the "Wipe User Data" option in the Run Configurations -> Target menu. (Though I can only see emulators and not my physical device in this tab. Perhaps I'm not actually wiping user data from the Xoom?)
  • Uninstalling the app from my device before trying to reinstall
  • Restarting the device multiple times

Any suggestions you can offer are very much appreciated!

解决方案

Try to uninstall this app, and all others who have your signature on your device (your other apps). Clean your project and restart install. Also, you should consider installing your app through another mean that ADB, for instance using dropbox.

这篇关于尝试安装应用程序时出现 INSTALL_FAILED_DEXOPT 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆