React-native-background-geolocation: Cannot evaluate module react-native-mauron85-background-geolocation : Configuration with name 'default' not found.

Created on 31 Jan 2017  路  5Comments  路  Source: mauron85/react-native-background-geolocation

Hi,
I am getting this issue while running on my emulator
Cannot evaluate module react-native-mauron85-background-geolocation : Configuration with name 'default' not found.

Any kind of help would be highly appreciated. Thanks in advance.

Most helpful comment

Maybe it was a mistake when you run react-native link
Try this at your settings.gradle file :
include ':react-native-mauron85-background-geolocation', ':app' project(':react-native-mauron85-background-geolocation').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-mauron85-background-geolocation/android/lib')

All 5 comments

Maybe it was a mistake when you run react-native link
Try this at your settings.gradle file :
include ':react-native-mauron85-background-geolocation', ':app' project(':react-native-mauron85-background-geolocation').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-mauron85-background-geolocation/android/lib')

i have this issue, solve it with rnpm unlink react-native-mauron85-background-geolocation, and link it manually

Hi,
I am facing same issue. I tried both react-native link and manully adding to settings.gradle and build gradle. No luck.

Add lib folder at the end after android, worked.

Notice: this issue has been closed because it has been inactive for 244 days. You may reopen this issue if it has been closed in error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

canerd7u picture canerd7u  路  7Comments

pewh picture pewh  路  6Comments

aemdy picture aemdy  路  4Comments

mikailbayram picture mikailbayram  路  4Comments

MRolandd picture MRolandd  路  6Comments