从android studio安装应用程序时出现问题 [英] Issue while installing app from android studio
问题描述
当我将我的应用程序安装在api级别高于20的android设备中时遇到了这个问题
I got this issue when i install my app in the android device with api level above 20
/packageName E/AndroidRuntime:致命例外:主要
/packageName E/AndroidRuntime: FATAL EXCEPTION: main
在api级为20的android设备中安装相同的应用程序时出现此问题
When install the same app in android devices with api level 20 getting this issue
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 application?
任何人都可以帮助我解决这个问题.
Can anyone help me with this issue.
推荐答案
如果有人来这里寻找答案,这就是我所做的.
关闭模拟器.
工具> AVD管理器>选择仿真器设置>擦除数据>冷启动.
立即安装应用.
If someone comes here looking for answers, here's what I did..
Close Emulator.
Tools > AVD Manager > Select Emulator Settings > Wipe Data > Cold Boot..
Now Install App.
这篇关于从android studio安装应用程序时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!