【问题标题】:Unable to run app on device using android studio无法使用 android studio 在设备上运行应用程序
【发布时间】:2015-05-23 10:51:52
【问题描述】:

我一直在尝试使用android studio,每次我在设备上部署应用程序时,它都会给我一个错误提示:

Installation failed since the device possibly has stale dexed jars that don't match the current version (dexopt error).

为了继续,您必须卸载现有的应用程序。

尝试过使用 Build->Clean Project,但它似乎没有用。 我也尝试从设备上的 /data/local/tmp 中删除文件(因为我的手机是有根的),但是,一切都是徒劳的。

如果有人知道出路,请帮忙。

【问题讨论】:

标签: error-handling android-studio dexopt


【解决方案1】:

从设备上卸载应用程序。 检查存储空间。 一旦重新启动手机并尝试安装它

【讨论】:

  • 问题是我的设备上没有安装应用程序:(
  • 我卸载了 Android Studio 并安装了最新版本。现在效果很好..谢谢:) :)