小米手机安装出错:It is possible that this issue is resolved by uninstalling an existing version of

使用AS3.0.1版本,手机是红米note2,安装测试AndroidTest,安装提示以下错误。

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?

解决办法如下:
https://www.jianshu.com/p/e248f19963fe
开始使用方法一,还是不行,接着用方法二。编译才通过。,把内容贴出来吧。
解决方式
方法一:
删除 project 下面的build文件夹;
删除 module 下面的build文件夹;
重新编译安装即可。
方法二【小米手机】
开发者选项;
关闭“启用MIUI优化”;
重启即可。

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值