Android Studio2.1.3之後在小米手機安裝應用報錯

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? 


DELETE_FAILED_INTERNAL_ERROR 
Error while Installing APKs

原因: 
是因爲MIUI開發者選項中開啓了MIUI優化。

解決: 
關閉MIUI開發者選項中的MIUI優化並重啓!

在設置->更多設置->開發者選項->USB安裝(打開)+啓動MIUI優化(關閉)


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