ビルドはローカルで検出されますが、bitrise CI で次のエラーが発生します。Gradle ファイルに変更を加えていませんが、bitrise CI で突然動作しなくなりました
A problem occurred configuring root project 'src'.
> Could not resolve all files for configuration ':classpath'.
> Could not find com.google.gms:google-services:3.2.1.
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/3.2.1/google-services-3.2.1.pom
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/3.2.1/google-services-3.2.1.jar
https://maven.google.com/com/google/gms/google-services/3.2.1/google-services-3.2.1.pom
https://maven.google.com/com/google/gms/google-services/3.2.1/google-services-3.2.1.jar
file:/root/.m2/repository/com/google/gms/google-services/3.2.1/google-services-3.2.1.pom
file:/root/.m2/repository/com/google/gms/google-services/3.2.1/google-services-3.2.1.jar
https://maven.fabric.io/public/com/google/gms/google-services/3.2.1/google-services-3.2.1.pom
https://maven.fabric.io/public/com/google/gms/google-services/3.2.1/google-services-3.2.1.jar
https://jcenter.bintray.com/com/google/gms/google-services/3.2.1/google-services-3.2.1.pom
https://jcenter.bintray.com/com/google/gms/google-services/3.2.1/google-services-3.2.1.jar
Required by:
project :
しかし./gradlew assembleDebug
、ローカルでは問題なく動作します。
gradle プロジェクト:
buildscript {
repositories {
google()
maven { url 'https://maven.google.com' }
maven { url 'https://dl.google.com/dl/android/maven2' }
mavenLocal()
maven { url 'https://maven.fabric.io/public' }
maven { url "http://dl.bintray.com/populov/maven" }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:3.2.1'
classpath 'io.fabric.tools:gradle:1.25.1'
}
}
allprojects {
repositories {
def androidHome = System.getenv("ANDROID_HOME")
maven { url "$androidHome/extras/android/m2repository" }
google()
maven { url "https://maven.google.com" }
maven { url 'https://dl.google.com/dl/android/maven2' }
mavenLocal()
maven { url "http://repo.commonsware.com.s3.amazonaws.com" }
maven { url "http://dl.bintray.com/populov/maven" }
jcenter()
}
}
グラドルアプリ:
apply plugin: 'com.google.gms.google-services'
ここで何がうまくいかないのですか?