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? 

Android Studio2.1.3之后在小米手机安装应用报错_第1张图片

DELETE_FAILED_INTERNAL_ERROR 
Error while Installing APKs

原因: 
是因为MIUI开发者选项中开启了MIUI优化。

解决: 
关闭MIUI开发者选项中的MIUI优化并重启!

在设置->更多设置->开发者选项->USB安装(打开)+启动MIUI优化(关闭)


你可能感兴趣的:(Android Studio2.1.3之后在小米手机安装应用报错)