I received these errors when i started new project in android studio.
Error:(1) Error retrieving parent for item: No resource found that matches the g
The ideal answer found in the forum mentioned above is this:
sed -i 's/facebook-android-sdk:4.+/facebook-android-sdk:4.22.1/g' ./node_modules/react-native-fbsdk/android/build.gradle
This works