question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on build: All firebase libraries must be either above or below 14.0.0

See original GitHub issue

Is this a bug report?

After installing admob-plus, I was not able to build to android anymore…

Looks like some conflict with Firebase

* 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

Cordova plugins:

cordova-admob-plus 0.0.0 "@admob-plus/cordova"
cordova-plugin-device 1.1.7 "Device"
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-support-google-services 1.1.0 "cordova-support-google-services"
ionic-plugin-keyboard 2.2.1 "Keyboard"
mx.ferreyra.callnumber 0.0.2 "Cordova Call Number Plugin"
phonegap-plugin-multidex 1.0.0 "Multidex"
phonegap-plugin-push 2.2.3 "PushPlugin"

Environment

npx: installed 92 in 3.648s

  AdMob Plus Environment Info:
    System:
      OS: Linux 4.15 Ubuntu 16.04.5 LTS (Xenial Xerus)
      CPU: (8) x64 Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
      Memory: 411.09 MB / 7.66 GB
      Shell: 4.3.48 - /bin/bash
    Binaries:
      Node: 8.1.1 - ~/.nvm/versions/node/v8.1.1/bin/node
      Yarn: 1.9.4 - /usr/bin/yarn
      npm: 6.4.1 - ~/.nvm/versions/node/v8.1.1/bin/npm
    SDKs:
      Android SDK:
        API Levels: 23, 24, 25, 26, 27, 28
        Build Tools: 27.0.3, 28.0.3
        System Images: android-27 | Google APIs Intel x86 Atom
    Languages:
      Java: 1.8.0 - /usr/bin/javac
    npmPackages:
      cordova-admob-plus: ^0.15.0 => 0.15.0 
      cordova-android: 7.1.2 => 7.1.2 
      cordova-ios: ^4.4.0 => 4.5.5 
      cordova-plugin-device: ^1.1.7 => 1.1.7 
      cordova-plugin-splashscreen: ^4.1.0 => 4.1.0 
      cordova-plugin-statusbar: ^2.4.2 => 2.4.2 
      cordova-plugin-whitelist: ^1.3.3 => 1.3.3 
      ionic-plugin-keyboard: ^2.2.1 => 2.2.1 
      phonegap-plugin-push: 2.2.3 => 2.2.3 
    npmGlobalPackages:
      cordova: 8.1.2
      ionic: 4.3.0

AndroidManifest.xml: looks ok

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
dknussmanncommented, Jan 3, 2019

Hi, i have managed to make this work.

  1. Remove platform and both Plugins via cli
  2. Add the admob plugin with --variable PLAY_SERVICES_VERSION=15.0.0
  3. Add the push plugin with --variable FCM_VERSION=15.0.0
  4. Add platform and run

I hope this helps

0reactions
stale[bot]commented, Apr 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

All firebase libraries must be either above or below 14.0.0
Turns out I forgot to change the version number for com.google.android.gms:play-services-ads , switched it to 15.0.0 and it worked.
Read more >
All firebase libraries must be either above or below 14.0.0 #385
This is the android/app/build.gradle, I am using. dependencies { compile project(':react-native-fs') compile project(':react-native-image- ...
Read more >
All firebase libraries must be either above or below 14.0.0
Hello Friends, I created an app and added push notification , firebase plugins…i try on build it throws me a error. "All firebase...
Read more >
Fix : All Firebase libraries must be either above or below 14.0 ...
Gradle#sync#failedFix : All Firebase libraries must be either above or below 14.0.0 Gradle Error | Android Studio " All firebase libraries ...
Read more >
Firebase Android SDK Release Notes
Note that when using the Firebase Android BoM, you don't specify individual library versions when you declare Firebase library dependencies in build.gradle ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found