这是错误日志。配置根项目“quizv3”时出现问题。
无法解析配置“:classpath”的所有项目。找不到com.trivia.tools。build:gradle:3.5.4. 搜索地点如下:https://dl.google.com/dl/android/maven2/com/trivia/tools/build/gradle/3.5.4/gradle-3.5.4.pom - https://dl.google.com/dl/android/maven2/com/trivia/tools/build/gradle/3.5.4/gradle-3.5.4.jar - https://jcenter.bintray.com/com/trivia/tools/build/gradle/3.5.4/gradle-3.5.4.pom - https://jcenter.bintray.com/com/trivia/tools/build/gradle/3.5.4/gradle-3.5.4.jar 要求:项目:
可能的解决方案:
声明提供工件的存储库,请参阅https://docs.gradle.org/current/userguide/declaring_repositories.html
构建脚本{
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.trivia.tools.build:gradle:3.5.4'
classpath 'com.google.gms:google-services:4.3.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
所有项目{存储库{google()jcenter()
}
}
任务清理(类型:delete){delete rootproject.builddir}
buildtypes{release{minifyenabled false proguardfiles getdefaultproguardfile('proguard-trivia-optimize.txt'),'proguard rules.pro'}releasesdk{signingconfig signingconfigs.sdktest debugable true}
暂无答案!
目前还没有任何答案,快来回答吧!