• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
山高我为峰
博客园    首页    新随笔    联系   管理    订阅  订阅
Gradle build-info.xml not found for module app.Please make sure that you are using gradle plugin '2.0.0-alpha4' or higher.

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

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  

posted on 2016-07-18 16:41  山高我为峰  阅读(1734)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3