![]() Accept the Android Studio licenses: This step might not be necessary for everybody, but I had to do it every single time I went through this setup. You can go into your terminal, type open $HOME/.bash_profile, and add the lines there.Ĥ. Configure environment variables: Open the $HOME/.bash_profile file and add the following lines: 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 However, it’s advisable to install it using Brew.ģ. You can also install Node separately from their website. In the terminal, run the following commands: brew install node brew install watchman Watchman is a tool developed by Facebook that’ll watch changes in your file system and improve performance. ![]() Install Node and Watchman: Node.js is a JavaScript runtime that is compulsory for React Native development (since you’re using JS). Open up a terminal and run the following command:īrew install -cask adoptopenjdk/openjdk/adoptopenjdk8ĭo not manually install a JDK from other sources.
0 Comments
Leave a Reply. |