美文网首页
【转载】解决小米手机Android Studio安装app报错

【转载】解决小米手机Android Studio安装app报错

作者: 哎呦哥哥QAQ | 来源:发表于2018-03-11 15:23 被阅读8次

转载自:http://blog.csdn.net/qq_27969037/article/details/72900963

Android Studio升级到2.3版本之后,小米手机MIUI8不能运行Android Studio程序,报如下错误:

it is possible that this issue is resovled by uninstalling an existing version of the apk if it is present
Installation failed with message Failed to establish session. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then reinstalling. WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?

解决办法:

设置→搜索Instant Run→Enable Instant Run to hot swap code/resource changes on deploy(default enabled)选项的选择框取消(就是将其不选中)→Apply

解决办法

相关文章

网友评论

      本文标题:【转载】解决小米手机Android Studio安装app报错

      本文链接:https://www.haomeiwen.com/subject/mslwfftx.html