Ionic 3 prod版本com.google.gms:google-services:3.2.0的发行版本问题

时间:2018-12-10 15:00:59

标签: android cordova ionic-framework ionic3 hybrid-mobile-app

我正在使用以下版本创建发行版APK:节点-8.12.0 gradle-4.10.2离子CLI-4.0.5 Cordova-8.0.0

我运行时

ionic cordova build android --prod --release

我遇到以下错误。

FAILURE: Build failed with an exception.
 * Where:
Build file '/app/platforms/android/app/build.gradle' line: 94
 * What went wrong:
A problem occurred evaluating project ':app'.
> Could not resolve all files for configuration 'classpath'.
 > Could not find com.google.gms:google-services:3.2.0.
 Searched in the following locations:
 https://jcenter.bintray.com/com/google/gms/google-services/3.2.0/google-services-3.2.0.pom
 https://jcenter.bintray.com/com/google/gms/google-services/3.2.0/google-services-3.2.0.jar
 https://repo1.maven.org/maven2/com/google/gms/google-services/3.2.0/google-services-3.2.0.pom
 https://repo1.maven.org/maven2/com/google/gms/google-services/3.2.0/google-services-3.2.0.jar

1 个答案:

答案 0 :(得分:0)

今天,存储库出现了问题。似乎没有人可以建立一个项目Could not find com.google.gms:google-services:4.1.0