Android(安卓)Studio2.1.3之后在小米手机安装应用报错
16lz
2021-01-26
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优化(关闭)
更多相关文章
- Android编译出错:app:checkDebugDuplicateClasses
- 浅析Android手机卫士关闭自动更新
- 视频聊天软件源码Android(安卓)8.1user版本默认开启开发者模式
- Android代码优化----PullToRefresh+universal-image-loader实现
- Android:BaseAdapter的优化方案一览
- RecyclerView 中 item 点击事件的优化
- android--(布局ListView、优化、刷新分页、ArrayAdapter、Simple
- android adb shell命令行启动Activity service broadcast
- 一起学android之如何以最简单方式开启闪光灯(35)