Reputation: 944
When Gradle compiling react-native-gmaps package it gives error
A problem occurred configuring project ':app'.
Cannot evaluate module react-native-gmaps : Configuration with name 'default' not found.
Upvotes: 0
Views: 107
Reputation: 944
This is a problem with the project settings.gradle file project dir location, It should be correctly pointed to the project building directory, eg.,
project(':react-native-gmaps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-gmaps/android/app')
Upvotes: 0