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了