0
这里的build.gradle:Android的工作室 - 建立在编译失败,找不到dsl.dependencies.DefaultDependencyHandler
C:\Users\billb\StudioProjects\ShoppingList03>type build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
dependencies {
classpath "/com.android.tools.build.gradle:3.3/"
compile "com.android.support:support-core-utils:26.1.0"
}
}
allprojects {
repositories {
jcenter()
}
}
错误是在编译:找不到DefaultDependencyHandler。 我重新加载了Android SDK平台 - 工具和SDK工具,都是26.0.1
这个DefaultDependencyHandler在哪里?为什么需要?
显然,我的android java代码中有一些东西需要这个。
有什么想法吗?我花了太多时间试图追踪这一点。