Android Studio开发调试Installation failed since the device possibly has stale dexed jars
来源:互联网 发布:唐筛报告怎么看 知乎 编辑:程序博客网 时间:2024/06/06 15:46
写完代码运行时,出现了程序安装失败的对话框:
Installation failed since the device possibly has stale dexed jars that don‘t match the current version (dexopt error). In order to proceed, you have to uninstall the existing application.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing ap
点击OK后,并不能成功删除、卸载apk
Installing APK: E:\Workspace\AndroidStudio\SweepMine\app\build\outputs\apk\app-debug.apk
Uploading file to: /data/local/tmp/com.game.sweep.mine
Installing com.game.sweep.mine
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.game.sweep.mine"
pkg: /data/local/tmp/com.game.sweep.mine
Failure [INSTALL_FAILED_DEXOPT]
DEVICE SHELL COMMAND: pm uninstall com.game.sweep.mine
DELETE_FAILED_INTERNAL_ERROR
我的解决办法是:
1、AndroidStudio-> Build -> Clean Projects 然后等下面任务完成后,重新运行看看能否解决问题,如果不能再试方法2
2、AndroidStudio-> Setting-> Build, Exception,Deployment -> Instant Run ->不要选中Enable Instant Run to hot swap code
经过自己的实际测试,发现问题解决了~~
1 0
- Android Studio开发调试Installation failed since the device possibly has stale dexed jars
- Android studio运行project出现了Installation failed since the device possibly has stale dexed jars...的问题
- Android studio错误Installation failed since the device possibly has stale dexed jars that don't match
- Installation failed since the device possibly has stale dexed jars that ...解决办法
- Installation failed since the device possibly has stale dexed jars that don't match the current vers
- installation failed since the device possibly has stale dexed jars that don't match the current vers
- installation failed since the device possibly has stale dexed jars that don't match the current v...
- Android studio 运行失败:Installation failed since the APK was either not signed, or signed incorrectly.
- Android Studio 开发错误 Installation failed with message INSTALL_FAILED_SHARED_USER_INCOMPA
- Android Studio 开发错误 Installation failed with message INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
- Android Studio 调试时,The selected device is incompatible
- App installation failed.could not write to the device.
- Android开发使用小米手机调试出现Installation failed with message Failed to establish session
- Application Installation Failed in Android Studio
- Android Studio 安装出错 Failed to install Intel HAXM. For details, please check the installation log
- Instant Run performed a full build and install since the installation on the device does not match t
- Android Studio Installation failed with message Failed to establish session.
- Android wear开发真机调试报: Android error: Failed to install *.apk on device *: timeout
- ubuntu查看网关
- c++作业2
- 【代码笔记】iOS-获得富文本设置以后的文字高度
- 2016年,C语言该怎样写
- 机器学习基础(四)——持久化分类器
- Android Studio开发调试Installation failed since the device possibly has stale dexed jars
- String的split()方法探索和大揭秘
- 界面初始化时获取控件高度
- 求n的阶乘
- 委派任务
- Android自定义View的使用
- python 错误: ImportError: cannot import name xxx
- JavaScript学习
- 今日BBC