npm i
- Install NodeJS depsnpx expo prebuild --platform android
- Sync Android directory w/ Expo prebuild stepsnpm run android
- Launch app on running AVD or connected device
Open Android Studio > Open project > select "android" directory from this repo. Gradle sync will run on open and will take some time (12 minutes on i7 @ 3.0 GHz)
- (New UI) Android Studio > File > Settings > Build, Execution, Deployment > Build Tools > Gradle
- Click the "Gradle JDK" dropdown, select "Download JDK", select version 21, copy "Location" field, click "Download" button; after download completes, click "Apply" button, then "OK"
- Set system environment variable
JAVA_HOME
to value copied from above - BE SURE to include the trailing slash (\
or/
) - Reopen Android Studio (to let new env vars take effect)
Tested on Medium Phone API 30 (Android 11.0, "R")
With an AVD already open and running, execute npm run android
in the root of this repo to launch the app on the AVD (first run will take some time, subsequent runs will be much faster; 5.5 minutes on i7 @ 3.0 GHz, 30 secs after)
Follow the directions here to download SDK files
- Windows - Set
Android
environment variable as described, then add%Android%
to path environment variable