React Native Environment setup | mac android

Veröffentlicht am: 12 Januar 2023
auf dem Kanal: Code Resolutions
715
5

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:    • Bottom Tab Navigation React Native | ...  

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


Auf dieser Seite können Sie das Online-Video React Native Environment setup | mac android mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code Resolutions 12 Januar 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 715 Mal angesehen und es wurde von 5 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!