Android Studio升级到2.3版本之后,小米手机MIUI8不能运行Android Studio程序,报如下错误:

it is possible that this issue is resovled by uninstalling an existing version of the apk if it is present

InstallationfailedwithmessageFailedtoestablishsession.Itispossiblethatthisissueisresolvedbyuninstallinganexistingversionoftheapkifitispresent,andthenreinstalling.WARNING:Uninstallingwillremovetheapplicationdata!

Doyouwanttouninstalltheexistingapplication?


解决办法:设置Android Studio 中Instant Run中Enable Instant Run to hot swap code/resource changes on deploy(default enabled)的选择框取消


将其不选中,之后点击Apply,保存设置就OK了






更多相关文章

  1. android studio编译错误 之 Cause: com/android/builder/profile
  2. Android Studio 错误:Invalid Android NDK revision (should be 1
  3. ListActivity setContentView 错误
  4. 错误收集
  5. android兼容小米xiaomi刘海屏解决方案
  6. android 开发中java.net.UnknownServiceException: CLEARTEXT co
  7. Android警告错误搜集

随机推荐

  1. android + red5 + rtmp
  2. 解决Android SDK Manager不能更新的问题
  3. Android消息机制之ThreadLocal浅析
  4. Android解析lrc里的歌词
  5. android中SELINUX规则分析和语法简介
  6. android 1.6中LinearLayout getBaseline
  7. android UI进阶之style和theme的使用
  8. 图文并茂的android之SpannableString
  9. 使用谷歌提供的支持库(Android)
  10. android之图像处理、缩放、修改图片、绘