Ionic3 Android因Firebase 14版本不匹配而失败

时间:2019-07-22 05:23:52

标签: firebase ionic-framework push-notification ionic3

我正在尝试使用现已启用的推送通知功能为Android编译我的应用程序。 由于Firebase和其他Google Services软件包版本不匹配,其他每条帖子似乎都失败了。
但是,我不知道如何列出版本以及哪些版本需要增加/降低。 任何想法欢迎。 干杯!

Starting a Gradle Daemon (subsequent builds will be faster)
> Task :wrapper

BUILD SUCCESSFUL in 4s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
        at build_40t433hc0d8110x39iri9gi84.run(/Users/me/Documents/App/platforms/android/app/build.gradle:151)

FAILURE: Build failed with an exception.

* Where:
Script '/Users/me/Documents/App/platforms/android/cordova-support-google-services/App-build.gradle' line: 16

* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']
   > All firebase libraries must be either above or below 14.0.0

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
/Users/me/Documents/App/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* Where:
Script '/Users/me/Documents/App/platforms/android/cordova-support-google-services/App-build.gradle' line: 16

* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']
   > All firebase libraries must be either above or below 14.0.0

0 个答案:

没有答案