android 解決小米手機Android Studio安裝app報錯

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了






發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章