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

转载自: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

解决办法
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容