如何解决 INSTALL_FAILED_DEXOPT 错误? [英] How do I solve the INSTALL_FAILED_DEXOPT error?

查看:32
本文介绍了如何解决 INSTALL_FAILED_DEXOPT 错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Android 2.2 开发 Android 应用程序,我的应用程序 APK 大小为 22.5 MB,我想为三星平板电脑创建一个新版本.我收到以下错误:

I am developing an Android application using Android 2.2, my application APK size is 22.5 MB, and I would like to create a new build for a Samsung tablet. I got the following error:

INSTALL_FAILED_DEXOPT

INSTALL_FAILED_DEXOPT

我该如何解决这种错误?

How do I solve this kind of error?

推荐答案

这对我来说似乎与磁盘空间有关.新推出的 5.1 模拟器启动时出现磁盘空间不足"错误 - 查看模拟器属性,分配给内部存储的默认空间为 800MB,这似乎很低.

This seemed to be related to disk space for me. A newly rolled 5.1 emulator boots with a "low on disk space" error - and looking at the emulator properties, the default space allocated for internal storage is 800MB which seems low.

解决方案,因此是增加它(我去了 4GB).奇怪的是,模拟器仍然以相同的磁盘空间警告启动,但出厂重置(模拟器内的设置 --> 备份和恢复)为我完全解决了这个问题.

Solution, therefore was to increase this (I went to 4GB). Oddly the emulator still boots with the same disk space warning but factory resetting it (Settings --> Backup and Restore inside the emulator) solved it entirely for me.

有点奇怪,它在默认设置下无法开箱即用.

Just a bit odd that it doesn't work out of the box with default settings.

这篇关于如何解决 INSTALL_FAILED_DEXOPT 错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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