Gradle build-info.xml not found for module app.Please make sure that you are using gradle plugin '2.0.0-alpha4' or higher.
2016-07-18 16:41
507 查看
解决方法:去掉“Enable Instant run to host swap code/resource changes on deploy(default enabled)”的勾选项
![](https://oscdn.geek-share.com/Uploads/Images/Content/201607/56490eb4283090bcfff602546bc08582.png)
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
![](https://oscdn.geek-share.com/Uploads/Images/Content/201607/56490eb4283090bcfff602546bc08582.png)
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
相关文章推荐
- 【iOS开发】IMP指针的作用
- android 的getInstance运用(单例模式)
- Android签名的过程
- 腾讯优测-优社区干货精选 | android开发在路上:少去踩坑,多走捷径(下)
- 学习笔记-斯坦福iOS7-第十四课:UIApplication和MapKit
- android session的使用(图片验证码)
- Android选择图片(从相册或相机)并裁剪
- ios 正则表达式之验证手机号、邮箱、身份证、银行卡
- Android 屏幕适配方案(二)百分比布局
- Android 正则表达式匹配汉字中文
- Android Recyclerview分割线
- 学习笔记-斯坦福iOS7-第十三课:Core Data 和表格视图
- Android自定义View之画笔与画布(2)
- 微信高级群发接口正文乱码解决方案
- Android 任务和返回栈详解
- Jenkins配置ant依赖问题
- MAC系统下的环境变量配置java、android、maven
- (OK)(OK) SEEM_testing_result_5-android-x86-64_4_vbox-ping.png 实验截图
- Swift - Alamofire简单GET和POST使用
- android:drawable/text_cursor_material has unresolved theme attributes