Could not HEAD 'https://jcenter.bintray.com/com/growingio/android/vds-gradle-plugin/1.1.1/vds-gradle-plugin-1.1.1.pom'. Received status code 502 from server: Bad Gateway
Enable Gradle 'offline mode' and sync project
解決辦法:
配置1:
allprojects {
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
google()
}
}
配置2:
buildscript {
repositories {
google()
jcenter()
jcenter { url "http://jcenter.bintray.com/" }//關(guān)鍵
maven { url 'https://maven.fabric.io/public' }//關(guān)鍵
maven { url 'https://jitpack.io' }//關(guān)鍵
maven { url 'https://maven.fabric.io/public' }//關(guān)鍵
maven { url "https://maven.google.com" }//關(guān)鍵
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.bugtags.library:bugtags-gradle:latest.integration'
classpath 'com.growingio.android:vds-gradle-plugin:1.1.1'
}
}