【问题标题】:Ionic 3 prod release build issue with com.google.gms:google-services:3.2.0com.google.gms:google-services:3.2.0 的 Ionic 3 prod 发布构建问题
【发布时间】:2018-12-10 15:00:58
【问题描述】:

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

【问题讨论】:

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


    【解决方案1】:

    今天存储库出现问题。好像没人能建项目Could not find com.google.gms:google-services:4.1.0

    【讨论】:

    • 我尝试了共享解决方案。但这对我不起作用
    猜你喜欢
    • 2019-03-27
    • 1970-01-01
    • 2019-11-15
    • 2019-01-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-15
    相关资源
    最近更新 更多