This happens when build.gradle not found for one of your package dependencies.
To debug this problem, inside your response to your own project launch
cd android ./gradlew clean --info
After executing this command, you can see where the building will stop. Go to the github package page and search for problems. Most likely, you will find the answer. In my case, it was due to react-native-maps , so I need to change settings.gradle to indicate the actual build.gradle location for this package
source share