-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not determine the dependencies of task ':app:preDebugBuild'. Conflict with Fabric, Firebase and push notifications #536
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 |
@christocracy I have already tried Build->Clean Project, it didn't help, I got these errors after the adding react-native-background-geolocation library, all stuff related to Firebase started show errors, I guess, it's somehow conflicting with the library, I'm using latest version of googlePlayServicesVersion in my project. |
@christocracy |
@christocracy yes |
There's your problem. Your app is not finding those 3 plugins. As you can see, those folders are empty. You'll want to remove the Mauron85 version. |
in Android Studio: |
@christocracy that didn't help either |
|
@christocracy I unlinked and uninstalled react-native-background-fetch, and somehow firebase appeared again |
P.S: before doing all of that, I was uninstalling mauron85 library as well, sync the project after that, but it did give any result |
Somehow your library is conflicting with fabric, firebase and push notifications in my project |
Now that those folders are shown, you should be good to proceed. |
@christocracy em, when I'm adding your library they disappear |
Show me the following files:
|
android/app/build.gradle
|
android/build.gradle
|
@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. |
You should choose one or the other. |
Btw, if you’re posting your locations to Firebase, I’ve released a new adapter plugin for background-geolocation which will override the plugin’s SQLite/http services and post to Firebase for you. |
I confirm what @Luckygirlllll said. I got build issues after added a package using npm instead of yarn. The solution is to add the package with yarn. |
Could not determine the dependencies of task ':app:preDebugBuild'. Getting this error |
Care to elaborate on that? That’s like a doctor saying “patient died from blood loss”. |
Your Environment
react-native -v
): 0.55.1Expected Behavior
I just have finished installation of the plugin, expected behavior - app should continue work
Actual Behavior
App shows such errors:
Version of the dependencies in my project is higher than in example:
The text was updated successfully, but these errors were encountered: