关于小米4c 在使用Android Studio Run的时候 Installation failed with message Failed to establish session

在小米手机,开发者模式下,尝试adb连接后使用AS run,

报如下提示:


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优化



重启以后就可以run进去了



你可能感兴趣的:(操作系统,操作系统)