Android 启动模拟器报错解决

  • 2
  • 2,652 ℃
  • A+
所属分类:Java 学习笔记

问题一、报错详细:Installation failed with message…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?

如图:

Android 启动模拟器报错解决

解决方法:

1、打开菜单File——Settings——Build,Execution,Deployment——Instant Run
2、不选中Enable Instant Run to hot swap code/resource changes on deploy(default enabled)}
3、依次点击Apply——OK,重新运行程序,大功告成

问题二、报错详细:/dev/kvm device: permission denied Deepin Ubuntu AndroidStudio
如图:

Android 启动模拟器报错解决
解决方法:
sudo  chown   你的账户名  -R  /dev/kvm 

zore

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:2   其中:访客  0   博主  0

    • avatar BEEKC 1

      我前段时间也折腾Android studio来着,想用舒服需要配置好多东西啊

        • avatar zore 博主

          @BEEKC 啊哈哈,还好,IDE都是那些东西,报错就排错 :mrgreen: