1. 程式人生 > >android studio miui install failed.小米手機USB除錯應用失敗。

android studio miui install failed.小米手機USB除錯應用失敗。

Android studio 升級到3.0.1 除錯安裝程式的時候失敗。提示

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預設在開發者選項最底部開啟了啟用MIUI優化,點選關閉,重啟手機就可以了。

然後就能安裝成功了。

參考自