androidstudio 问题
2016-04-19 19:38
393 查看
Error:(1, 1) A problem occurred evaluating project ':app'. > Failed to apply plugin [id 'com.android.application'] > Gradle version 2.10 is required. Current version is 2.4. If using the gradle wrapper, try editing the distributionUrl in E:\workplace\code\studiodemo\gradle\wrapper\gradle-wrapper.properties to gradle-2.10-all.zip
Error:(22, 0) Gradle DSL method not found: 'android()'
Possible causes:<ul><li>The project 'studiodemo' may be using a version of Gradle that does not contain the method.
<a href="open.wrapper.file">Open Gradle wrapper file</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
这个问题把最外层的build.gradle 里面的android节点删掉重新编译就好了
相关文章推荐
- 一些优秀的开源库汇总(间间断断更新O(∩_∩)O~)
- Android开发艺术探索(研读笔记)——02-Activity的启动模式
- Android Studio入门到精通
- 广告条目的android代码,常使用
- android SQLite(安卓数据库的插入显示删除)
- Android控件之CheckBox换图标、焦点问题
- 利用 Travis CI 把 Android 项目部署到 github
- 自定义控件android
- Android——listview android:cacheColorHint,android:listSelector属性作用
- 进程和线程(Processes and Threads)——翻译自developer.android.com
- android 项目中出现红色感叹号的解决方法
- android 项目中出现红色感叹号的解决方法
- Android自己定义控件系列二:自己定义开关button(一)
- Android列表收缩与展开仿QQ好友列表(非常详细,附源码)
- Android开发-API指南-<action>
- Android模拟器Genymotion使用介绍
- Android动画
- java----------android环境配置
- 轉:Android HAL實例解析
- Android 一张图片(BitMap)占用内存的计算 图片内存优化