React Native Environment setup | mac android
This video is relevant for those who just started in react native and try to build their first app. For android platform, So for that you need to setup your environment first in your operating system, and need to install Android studio and Java JDK and then exports its directory path as global through command line (terminal) What to Install : Android StudioJava JDK 11 or greater What to Exports in terminal? export ANDROID_HOME=$HOME/Library/Android/sdk export PATH=$PATH:$ANDROID_HOME/emulator export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$ANDROID_HOME/tools/bin export PATH=$PATH:$ANDROID_HOME/platform-tools export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk-11.0.16.jdk/Contents/Home" In React Native project go to project/android/create file name like : local.propertiesand paste following: sdk.dir = /Users/YOUR_USER_NAME/Library/Android/sdk Save the file And then try to build & run your android app using following command: In project dir) npx react-native run-android For Gradle issue: Check this video: https://youtu.be/FE1FqOvKGNo Your Queries react native environment setup for mac android, react native environment setup for mac, setup react native android on mac, setting up react native environment on mac, react native mac android setup, react native installation in mac, react native install on mac, react native installation mac, setup react native on mac android
Download
0 formatsNo download links available.