Проблема сборки релиза Ionic 3 prod с com.google.gms: google-services: 3.2.0 - PullRequest
0 голосов
/ 10 декабря 2018

Я создаю релиз APK, используя следующие версии: node - 8.12.0 gradle - 4.10.2 ionic 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 голосов
/ 10 декабря 2018

Сегодня существует проблема с репозиториями.Кажется, никто не может построить проект Не удалось найти com.google.gms: google-services: 4.1.0

...