Configuration with name 'default' not found - React Native

Same issue happens to me also in case of using


my solution:

npm install react-native-sms-android --save

and then modifiying the rest files as described in documentation.

This happens when build.gradle is not found for one of your package dependencies.

To debug this issue, inside your react native project run

cd android
./gradlew clean --info

After running this command, you can see where the building stops. Go to that package github page and search in issues. You will most probably find the answer. In my case it was because of react-native-maps, so I have to modify settings.gradle to point the real location of build.gradle for that package