Dinuka Salwathura
Dinuka Salwathura

Reputation: 944

Cannot evaluate module react-native-gmaps : Configuration with name 'default' not found

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.

error

Upvotes: 0

Views: 107

Answers (1)

Dinuka Salwathura
Dinuka Salwathura

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

Related Questions