ERROR: Failed to resolve: com.github.**** 报错
原因之一:
maven { url "https://jitpack.io" } maven 加错地方
我们整个工程的build中。 一看有两个repositories;
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
//需要把maven加在这里
maven { url "https://jitpack.io" }
}
}
6509

被折叠的 条评论
为什么被折叠?



