android - Gingerbeard(2.3.7) 上的 INSTALL_FAILED_DEXOPT

标签 android installation failed-installation

无法确定 INSTALL_FAILED_DEXOPT 的原因。

此问题仅出现在 2.3.7 设备上。在其余设备上,它工作正常。

最佳答案

您正在构建的应用程序可能变得越来越大,现在它有太大的 .dex 文件。

1) 尝试使用 ProGuard 删除未使用的代码: https://developer.android.com/tools/help/proguard.html

2) 作为另一种选择,您可以开始使用 Multidex 支持: https://developer.android.com/tools/building/multidex.html

关于android - Gingerbeard(2.3.7) 上的 INSTALL_FAILED_DEXOPT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30234807/

相关文章:

windows - Windows 7 RC 中的 "This program might not have installed correctly"消息

android - 从服务恢复 android Activity

android - 如何安装安卓市场?

visual-studio - Visual Studio 设置问题 - 'A problem has been encountered while loading the setup components. Canceling setup.'

macos - MacOS Sierra 10.12.15 上的 rJava : unsupported option fopenmp

python - 尝试安装程序时,python 上的 ssl 证书验证失败

python - 为python3安装Scrapy时出错

php - Composer 安装失败

java - Android ViewPager2 - 如何检测用户发起的页面更改

java - 使用 SDL 将现有的 Lunar Lander 程序从 C 转换到 Android 手机