我正在使用以下版本创建发行版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