react-native-background-geolocation: Could not determine the dependencies of task ':app:preDebugBuild'. Conflict with Fabric, Firebase and push notifications

Your Environment

  • Plugin version: 2.12.2
  • Platform: Android
  • OS version: all
  • Device manufacturer / model: all
  • React Native version (react-native -v): 0.55.1
  • Plugin config

Expected Behavior

I just have finished installation of the plugin, expected behavior - app should continue work

Actual Behavior

App shows such errors: screen shot 2018-07-27 at 11 43 20

Version of the dependencies in my project is higher than in example:

ext {
    compileSdkVersion = 27
    targetSdkVersion = 27
    buildToolsVersion = "27.0.3"
    supportLibVersion = "27.1.0"
    googlePlayServicesVersion = "15.0.1"
    gradle3EXPERIMENTAL = "yes"
} 

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 28 (12 by maintainers)

Most upvoted comments

None of those errors have anything to do with the plugin. I suggest you open your app in Android Studio and perform a Build->Clean Project.

Btw, your gradle property gradle3EXPERIMENTAL = "yes" is a Mauron85-only option.

@christocracy I think I found the problem, I used yarn for the installing all packages, but I used npm for the installing react-native-background-geolocation, so I think that is causing the problem.

Could not determine the dependencies of task ‘:app:preDebugBuild’.

Care to elaborate on that? That’s like a doctor saying “patient died from blood loss”.

in Android Studio: File -> Sync Project With Gradle Files