我已经将这个依赖项添加到我的gradle文件中:...}
但是,在我这样做之后not find method compile() for arguments [com.android.support:customtabs:27.0.2] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHa
> Could not find com.android.tools.build:gradle:3.0.1./gradle/3.0.1/gradle-3.0.1.pom
file:/Users/TrulsElg/.m2/repository/com/android/tools/build/gradle/3.0.1/gradle
我正在尝试为现有的Java项目运行Gradle构建,但我得到了以下错误,似乎与我的项目无关。FAILURE: Build failed with an exception.Execution failed for task ':myProject:test'.
> Could not get unknown property 'testSrcDirs' for task ':myProject:test' of type org.gradle</
这就是我的gradle文件看起来像的样子,它抛出一个小错误,上面写着:
// Top-level build file where you can add configuration options common to all sub-projects// in the individual module build.gradle</e