Mehedi Hassan Piash | Senior Software Engineer | Android | iOS | KMP | Ktor | Jetpack Compose | React-Native.

November 09, 2019

React native PATH variable set up in Mac

November 09, 2019 Posted by Piash No comments

  • Enter the given line to your Mac terminal
  nano ~/.bash_profile   or   nano ~/.zshrc  
  • Copy and past given line to your bash_profile file
          export ANDROID_HOME=~/Library/Android/sdk/
 export PATH=$PATH:~/android-sdks/platform-tools/
 export PATH=$PATH:~/android-sdks/tools/
 export PATH=$PATH:~/android-sdks/tools/adb
  • cltr S 
  • cltr x 
  • Enter 
  • source ~/.bash_profile  or source ~/.zshrc
That's it. Now you can enjoy your react-native android development smoothly in your Macintosh 😊😊
   

0 comments:

Post a Comment