Android Stuido导入Xutils3报错
真的一滴血 2016-03-25 05:13:25 Message错误提示:Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found.
搜索错误,看到说添加Xutils3中build.gradle中的下面两行代码:
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
然而添加之后依然报错:
Error:(23, 0) Gradle DSL method not found: 'classpath()'
Possible causes:<ul><li>The project 'test1' may be using a version of Gradle that does not contain the method.
<a href="openGradleSettings">Gradle settings</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
现在怎么解决呢,
是不是跟as版本有关系啊?
我的版本是1.0的,升级方式是稳定版,上次点击有个1.5但我不小心点了忽略,现在提示没有跟新.
如果想要跟新1.5版,该怎么操作呢?