React Native Environment setup | mac android

Pubblicato il: 12 gennaio 2023
sul canale di: 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


In questa pagina del sito puoi guardare il video online React Native Environment setup | mac android della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code Resolutions 12 gennaio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 715 volte e gli è piaciuto 5 spettatori. Buona visione!