# create an issue with these commands - maybe we can get a full working command-line version in the future:
# watchman recommended by React Native docs https://reactnative.dev/docs/environment-setup
# todo: do we need watchman??
brew install watchman
# or, on m1
arch -arm64 brew install watchman
# Version recommended by React Native docs https://reactnative.dev/docs/environment-setup
brew tap homebrew/cask-versions
brew install --cask zulu11
brew install qt
brew install --cask temurin8 android-sdk
brew install --cask temurin11 android-commandlinetools
yes | sdkmanager --licenses
sdkmanager --install "build-tools;32.0.0" platform-tools "platforms;android-30"
sdkmanager --install emulator
This will install the Java JDK, Android Command Line tools and the Android emulator.
If you have a machine with an M1 chip, run the following two lines:
Without installing Android Studio - using:
sdkmanager
avdmanager
emulator
Potentially useful references:
But getting a working Windows guide may be challenging, maybe it needs manual
PATH
:https://www.maketecheasier.com/install-android-sdk-in-windows/
First Notes
This will install the Java JDK, Android Command Line tools and the Android emulator.
If you have a machine with an M1 chip, run the following two lines:
If you have a machine WITHOUT an M1 chip, run the following two lines:
To start the emulator, run this:
https://docs.expo.dev/workflow/android-studio-emulator/
Some additional things that may help you:
npx react-native doctor