错误在安装应用程序(INSTALL_FAILED_DEXOPT) [英] Error while installing application (INSTALL_FAILED_DEXOPT)

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

问题描述

我的机器人正在与ccr4j API,所以当我跑我的项目,它抛出类似的错误:
错误,而安装的应用程序(INSTALL_FAILED_DEXOPT)

I am working with ccr4j API in Android so when I run my project its thrown an error like:
Error while installing application (INSTALL_FAILED_DEXOPT)

我从网络和站点上也发现,做了所有努力一样,
1.卸载从设备相同的应用程序。
2.运行仿真器与擦除用户数据。
但还是同样的错误出现。

I find from net and same site also, did all trying like,
1. Uninstalled same application from device.
2. Run Emulator with Wipe User Data.
But still same error comes.

因此​​,任何人知道为什么它抛出这样那样的错误?

So anyone know why its thrown this kind of error?

推荐答案

这最有可能是同classes.dex的大小。在任何pre-ICS dexopt将失败任何超过5MB。检查classes.dex的大小在你的apk。这也将是很好看你的方法计数是因为DEX有65536法/场极限。

This most likely has to do with the size of classes.dex. On anything pre-ICS dexopt will fail on anything over 5mb. Check the size of classes.dex in your apk. It would also be good to see what your method count is as dex has a 65536 method/field limit.

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

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