1. 程式人生 > >解決問題:Android Studio Run時,APP安裝失敗--Installation failed with message Failed to establish session.

解決問題:Android Studio Run時,APP安裝失敗--Installation failed with message Failed to establish session.

剛開始使用Android Studio, 使用的是紅米Note 3 , MIUI 7.3 ,Run時,app安裝不到手機上,提示:

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 re-installing.



WARNING: Uninstalling will remove the application data!


Do you want to uninstall the existing application?

如圖:

解決方法:

開發者選項介面中,最後一排有個- -“啟用MIUI優化” ,預設是開啟,把這個選項關掉,會提醒重啟,重啟後就好了

參考:http://blog.csdn.net/legend12300/article/details/69864547