I can't even setup react native. it's showing this error
You've opened Android Studio in the wrong folder, you need to open the android
folder rather than the projects root
folder in Android Studio.
When you open Android Studio, select Open an existing Android Studio project
Navigate to the android
folder inside your project's root
directory, select the folder named android
and then click open.
Here my app is called NewApp
so I navigate to that folder and then find the android
folder.
You should then see something like this:
The right way to open android project is to open project level build.gradle
file when open from android studio (Just browse and double tab build.gradle
file) for normal and react-native project both.
Please see the selected file in screenshot for reference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With