android studio miui install failed.小米手机USB调试应用失败。

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013383596/article/details/78643642

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优化,点击关闭,重启手机就可以了。

然后就能安装成功了。

参考自

猜你喜欢

转载自blog.csdn.net/u013383596/article/details/78643642