React Native / Expo Environment Setup on Ubuntu
1. Install Node.js Install Node.js from the official website using curl . Example: curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt install -y nodejs Verify installation: node -v npm -v 2. Install npm (if not installed) sudo apt install npm 3. Install Java (OpenJDK 17) React Native requires Java for Android development. sudo apt-get install openjdk-17-jdk sudo apt-get install openjdk-17-jre Verify: java -version 4. Install Watchman Watchman helps detect file changes for React Native projects. sudo apt install watchman Verify: watchman --version 5. Install Android Studio Download Android Studio. Extract it into the root directory / . Example: sudo tar -xvf android-studio-*.tar.gz -C / Navigate to the bin folder : cd /android-studio/bin Run Android Studio: ./studio.sh Complete the Android SDK setup from the Android Studio wizard. 6. Configure Android Environment Variables Open the .bashrc file: gedit ~/.bashrc Add the following lines at the end of the file : ex...