Jun 28, 2023
React Native development environment on Arch Linux

Quick notes on how I configure my React Native development environment on Arch Linux.

Install Genymotion (optional: xwayland if using wayland)

paru -S genymotion 
sudo pacman -S xorg-xwayland

Install Android SDK tools

paru -S android-sdk-platform-tools android-sdk-cmdline-tools-latest

Accept Android SDK licenses

yes | sudo sdkmanager --licenses

Configure Java environment

sudo pacman -S jre11-openjdk
archlinux-java set java-11-openjdk

Useful commands

QT_QPA_PLATFORM=xcb genymotion
adb devices
npx react-native run-android --deviceId=192.168.56.101:5555