React Native Android Setup in Mac M1 M2 or Intel | React Native Cli | Mr DevGeek

preview_player
Показать описание
Greetings, in this tutorial you will set up react native environment setup with mac m1 m2 or intel. Solution of Configure the ANDROID_SDK_ROOT environment variable

Add the following lines to your $HOME/.bash_profile or $HOME/.bashrc (if you are using zsh then ~/.zprofile or ~/.zshrc) config file:

export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin

Рекомендации по теме
Комментарии
Автор

I don't understand Urdu but I knew what it was about in every step. very well shown and selamualeykum from Brother Contry Turkey.

derindividualist
Автор

I got error saying: “error: unknown command ‘run-android”

please help me fix it :((

jay
Автор

Thanks so much, you have included paths that the official doc is missing

edwinchan
Автор

Environmental variables kaha hai bhai description me nahi diye tumne

bestexplainer
Автор

Thank you bro it really helped me to setup android and ios

MdIrfan-krw
Автор

Bro plz share env variable u said u have shared it in desc.
There is no file of that

NimeshSDulam
Автор

Thank you so much, both the android and ios videos were very helpful

kashishmeliwal
Автор

yar bro mera MacBook ma .zprofile or zshrc dono e nai ah ls -al kr ka ach b show nahi hat

m.jamshaidashraf
Автор

Tutorial is really awesome, it would be great, if you can increase your voice

Sunil-Patra
Автор

I got error, after npx react-native init :

error Your Ruby version is 3.2.1, but your Gemfile specified 2.7.6

Please Helm Me Fix it 🙏

muhamadriyandc
Автор

Sir cocoapods dependency error show ho rha ha

Chandan_Singh