react-native-background-geolocation: "Configuration with name 'default' not found" error message while adding dependencies and compiling.
Your Environment
- Plugin version: 2.3.3
- Platform: Android
- OS version: 7
- Device manufacturer / model: One Plus 3T
- React Native version (
react-native -v
): 0.3.4 - Plugin config
Expected Behavior
After adding the dependencies ‘:react-native-background-geolocation’ and ‘:react-native-background-fetch’, it should allow the code to be compiled without throwing an error.
Actual Behavior
After adding the dependencies using the code: compile project(‘:react-native-background-geolocation’) compile project(‘:react-native-background-fetch’) it is throwing up an error message “Error:Configuration with name ‘default’ not found.”
Steps to Reproduce
- Add the below lines in build.gradle file
- dependencies {
- compile project(‘:react-native-background-geolocation’)
- compile project(‘:react-native-background-fetch’)
- compile “com.android.support:appcompat-v7:$rootProject.supportLibVersion” }
- Build the Project
- Get an error message “Error:Configuration with name ‘default’ not found.”
Context
We are trying to get a demo app up and running in the debug mode using the instructions provided on the site for evaluating the React Native plugin.
Debug logs
None
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 23 (12 by maintainers)
Forget about my code.
Just generate a hello world RN app and get it to boot!
Do not even think of using my plugin until you become more familiar with the React Native development ecosystem.
I’m not here to tutor on RN development — I’m here to assist with issues specific to the plugin.