Students will need administrator permissions for:
- Installing Node.js and npm
- Installing Android Studio and SDKs
- Setting system environment variables
- Running Android emulators
Note: Installing expo-CLI globally is optional – you can always run Expo commands via
npxwithout admin rights.
- Windows 10/11 or macOS 12+
- Minimum 8 GB RAM (16 GB recommended)
- At least 20 GB free disk space
- Intel or AMD processor with virtualization support
- Virtualization enabled in BIOS (for Android emulator)
- Download Node.js LTS (v18.x or later) from https://nodejs.org/
- Run the installer.
- Verify:
node --version npm --version
- Download Android Studio from https://developer.android.com/studio
- Run the installer.
- In the components selection, ensure:
- Android SDK
- Android SDK Platform
- Android Virtual Device
- Intel HAXM (or appropriate AMD alternative)
- After launch:
- Tools → SDK Manager
- Under SDK Platforms, install:
- Android 14.0 (API Level 34)
- Android 13.0 (API Level 33)
- Under SDK Tools, ensure:
- Android SDK Build-Tools
- Android Emulator
- Android SDK Platform-Tools
- Intel x86 Emulator Accelerator (HAXM) or AMD Hypervisor driver
- ANDROID_HOME
- Windows:
- Open System Properties → Advanced → Environment Variables
- New User or System variable
Name: ANDROID_HOME Value: %LOCALAPPDATA%\Android\Sdk
- macOS/Linux:
echo 'export ANDROID_HOME=$HOME/Library/Android/sdk' >> ~/.bash_profile echo 'export PATH=$PATH:$ANDROID_HOME/platform-tools' >> ~/.bash_profile source ~/.bash_profile
- Windows:
- Add
platform-toolsto PATH- Windows variable Path:
%LOCALAPPDATA%\Android\Sdk\platform-tools - macOS/Linux, see above.
- Windows variable Path:
Tip: After setting variables, open a new terminal and run
adb --versionto confirm.
You can either:
- Globally install (requires admin):
npm install -g expo-cli
- Or use
npx(no admin needed):# in your project folder npx expo start
- In Android Studio, select More Actions → Virtual Device Manager
- Create Virtual Device → choose Pixel 7 (or similar)
- Download a system image (API 34 recommended)
- Finish setup
- Clone this repository
git clone https://github.com/your-org/CustomerCapture.git cd CustomerCapture - Install dependencies
npm install
- Start the app
- Launch your Android emulator (AVD)
- Run:
# if you installed expo-cli globally expo start # otherwise npx expo start
- Press a to open on the Android emulator, or scan the QR code in Expo Go on your device.
- Cause: expo-CLI isn’t installed globally, but you ran
expo start. - Fix:
- Run
npx expo startinstead ofexpo start - Or install locally as a dev dependency:
npm install --save-dev expo-cli
- Then you can run
npx expo startor add an npm script:and run:// package.json "scripts": { "start": "expo start" }
npm run start
- Run
- Ensure virtualization (Intel HAXM or AMD Hypervisor) is enabled in BIOS
- Allocate ≥ 2 GB RAM to the AVD
- Close other heavy applications
npm cache clean --force- Verify proxy/firewall allows npm registry
- Start emulator before
expo start adb devicesshould list your emulator- Restart Metro bundler: close the terminal, then
npm run start/npx expo start
- Unrestricted access to:
npmjs.comexpo.devgithub.com- Google Play services
- Ensure localhost ports 19000–19002 are open
npm installnpx expo start- Edit files in the app/ directory (file-based routing)