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(安卓)视频播放
  2. Android控件基本属性介绍
  3. ubuntu共享文件夹设置
  4. 不使用布局文件,代码中自定义界面
  5. 清除app数据等同于设置中的清除数据
  6. Android7.0中文文档(API) -- Switch
  7. Android(安卓)设置声音时出现按键音
  8. 【Android】:跳转系统界面汇总
  9. android 调用摄像头

随机推荐

  1. Android:dagger2让你爱不释手-重点概念讲
  2. android录音功能的实现
  3. Android组件——使用DrawerLayout仿网易
  4. android radioButton 动态设置背景
  5. Android(安卓)分别设置锁屏和桌面壁纸的
  6. Android中屏幕适配和样式主题的使用
  7. 32位机器Ubuntu系统编译android 内核注意
  8. Android(安卓)使用帧动画内存溢出解决方
  9. android守护进程installd分析
  10. 【Android(安卓)Developers Training】 0