peach android

Start a simulator on Android. The platform picks the device: your current device is kept when it is already an Android model, otherwise the default Android device is used. Use --remote with your app folder, or a prebuilt bundle, to run it on the production service and open its viewer.

peach android [target] [--device <model>]
peach android --remote <app-dir|bundle-path|https-url> [--device <model>]
peach android --remote <metro-bundle-url> --watch

Options

FlagDescription
--watchkeep a remote simulator connected to your Metro server until Ctrl+C
--device <model>pick a specific Android device model. an iOS model here is refused by name rather than silently overriding the platform
--remotebuild the app folder, or take the bundle, and run it on a remote simulator with its viewer open

Examples

peach android
peach android --device pixel-10
peach android --remote .
peach android --remote ./dist/main.js
peach android --remote https://cdn.example.com/main.js

Run Your App

From your Expo or React Native app's folder:

peach android --remote .

Peach builds the app with the app's own bundler, compiles its Expo modules, Nitro modules and C++ TurboModules on your Mac, and ships them with the bundle. Your Metro config needs no changes. Remote Android simulators do not load compiled Kotlin modules yet.

A prebuilt bundle also works. Build it with expo export:embed or react-native bundle, then pass the file. Peach reads the installed package versions and compiles the native modules of the app folder above the bundle, or of --native-project <app-dir>:

npx expo export:embed --platform android --dev false --bundle-output dist/main.js --assets-dest dist
peach android --remote ./dist/main.js