小米手机无法调试应用解决Installation failed with message Failed to establish session.
来源:互联网 发布:java测试需要会什么 编辑:程序博客网 时间:2024/05/24 01:37
小米手机性价比高,有些问题也很尖锐:
比如我的5S用了黑科技(试验品)-超声波指纹解锁,识别率就很低,每次解锁都要哈口气。真后悔
而且最近又遇到新问题,我的小米5S无法通过android studio调试应用,卖批啊(但即使这样也比蓝绿工程的OV手机强百倍)
不扯了,直接解决:
有人提出关闭MIUI优化,参考http://blog.csdn.net/u013132758/article/details/53835992
楼主试过,关闭是可行的,但是遇到一个更加无法忍受的问题,关闭小米手机MIUI优化,手机卡出翔,很不流畅。
于是有了今天这篇:
问题:
AS提示: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?
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?
原因:
原因很简单:我们使用了com.android.tools.build:gradle:2.3.0,就是android 插件版本的原因,小米部分手机出问题
解决:
知道原因了,解决很简单:只要在build.gradle文件里,降低android插件版本就行,例如降为 2.2.3。如下另外,我的gradle-wrapper是用的3.3版本,如图:
阅读全文
4 1
- 小米手机无法调试应用解决Installation failed with message Failed to establish session.
- 小米手机无法调试应用解决Installation failed with message Failed to establish session.
- Installation failed with message Failed to establish session(小米手机)
- 小米手机Installation failed with message Failed to establish session.
- 小米手机 Installation failed with message Failed to establish session
- 小米系列手机调试Installation failed with message Failed to establish session
- 小米系列手机调试Installation failed with message Failed to establish session
- 小米系列手机调试出现 Installation failed with message Failed to establish session
- Android开发使用小米手机调试出现Installation failed with message Failed to establish session
- 小米手机调试运行报错Installation failed with message Failed to establish session
- 小米系列手机调试Installation failed with message Failed to establish session
- 如果小米系列手机调试报这个错误:Installation failed with message Failed to establish session
- 小米手机调试Installation failed with message Failed to establish session
- 小米5无法调试提示Installation failed with message Failed to establish session
- 解决小米手机Installation failed with message Failed to establish session.
- [Android]解决小米手机神坑问题:Installation failed with message Failed to establish session
- 小米手机安装应用报 Installation failed with message Failed to establish session
- 小米系列真机调试代码时遇到小米系列手机调试Installation failed with message Failed to establish session
- ROM界面美化基础(framework-res、SystemUI)
- Oracle JDBC连接服务名、SID和tnsnames.ora配置的多种方式
- 第九讲 设计前端 3D-2D位姿计算(一)
- 高并发处理
- ScrollView中事件监听和GestureDetector手势监听冲突
- 小米手机无法调试应用解决Installation failed with message Failed to establish session.
- JEECMS自定义标签开发步骤
- jsp 重定向、定时刷新
- $cordovaFileTransfer 拍照上传文件
- WSAAsyncSelect之MFC模型
- CSS选择器
- 服务器被爆破
- java中对象的创建和销毁
- linux 查询目录下包含关键字的所有文件