解决方法:去掉“Enable Instant run to host swap code/resource changes on deploy(default enabled)”的勾选项

Gradle build-info.xml not found for module app.Please make sure that you are using gradle plugin '2.0.0-alpha4' or higher.

Settings→Build→Instant Run:

1:Enable Instant Run to hot swap code/resource changes on deploy (default enabled)

//启用即时运行 热交换代码/资源变化 部署(默认启用)

2:Restart activity on code changes 

//当代码变动时重启

3:Show toasts in the running app when changes are applied

//当代码变动应用时弹出toast

4:show Instant Run status notifications

//在notification里显示instant Run 的状态

 

当再次勾选后出现了新问题
The APK file D:\Android\del\MaterialDemo\app\build\outputs\apk\app-debug.apk does not exist on disk.
Error while Installing APK


解决方案:build-->build apk  

相关文章:

  • 2021-06-15
  • 2022-12-23
  • 2021-05-26
  • 2021-08-10
  • 2021-08-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-04
  • 2021-05-08
  • 2021-09-23
  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
相关资源
相似解决方案