您的位置:首页 > 移动开发 > Android开发

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节点删掉重新编译就好了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: