android 解决小米手机Android Studio安装app报错

来源:互联网 发布:创能医药软件 编辑:程序博客网 时间:2024/09/21 08:57

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? 


解决办法:设置Android Studio 中Instant Run中Enable Instant Run to hot swap code/resource changes on deploy(default enabled)的选择框取消


将其不选中,之后点击Apply,保存设置就OK了






阅读全文
1 0