android studio miui install failed.小米手机USB调试应用失败。
2017-11-27 12:14
1626 查看
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优化,点击关闭,重启手机就可以了。
然后就能安装成功了。
参考自
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优化,点击关闭,重启手机就可以了。
然后就能安装成功了。
参考自
相关文章推荐
- 关于Android应用调试在小米手机安装程序时出现Installation failed with message INSTALL_CANCELED_BY_USER问题解决
- Android studio真机调试,小米手机安装程序失败
- android studio2.3以后给apk签名打包后安装失败的问题[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
- Android Studio真机调试Installation failed with message INSTALL_FAILED_USER_RESTRICTED
- Installation error: INSTALL_FAILED_UID_CHANGED Android安装调试时出现失败的解决办法
- 【常见踩坑】USB调试安装失败(Installation failed with message INSTALL_CANCELED_BY_USER)
- Android - Android Studio 使用小米手机,调试应用出现 Application Installation Failed
- Android USB调试不能安装apk遇到的一个坑 INSTALL_FAILED_USER_RESTRICTED
- 解决小米手机出现INSTALL_FAILED_UID_CHANGE错误,安装应用失败的问题
- AndroidStudio运行项目出现DELETE_FAILED_INTERNAL_ERROR和INSTALL_CANCELED_BY_USER 标签: 应用Android调试
- android studio2.3以后给apk签名打包后安装失败的问题[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
- Android应用安装部分手机出现INSTALL_PARSE_FAILED_NO_CERTIFICATES的问题
- 调试android程序过程中出现:INSTALL_FAILED_INSUFFICIENT_STORAGE
- android真机调试 INSTALL_FAILED_MEDIA_UNAVAILABLE 问题解决方案
- AndroidStudio真机调试安转失败解决
- Android系统移植与调试之安装apk时MTK命令和出现Failure [INSTALL_FAILED_DEXOPT]问题解决方法
- [Android 调试] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- 模拟器安装应用失败(INSTALL_FAILED_NO_MATCHING_ABIS)
- Android系统移植与调试之安装apk时MTK命令和出现Failure [INSTALL_FAILED_DEXOPT]问题解决方法
- android真机调试报错Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE 的解决办法