Run your Android project on an emulator
Apple Silicon Macs get Apirex’s own Android emulator inside the builder; on Windows, Linux and Intel Macs, test on your phone or use Android Studio.
By Apirex Team · Updated
On this page
On Apple Silicon Macs with macOS 13 or newer, Apirex installs its own Android emulator, which runs Android 17 (API level 37), and shows the app live in the preview. The Windows version of the built-in emulator is coming soon; other computers have no built-in Android emulator. Today on Windows, Linux and Intel Macs, Android apps still build in full, and the supported test path puts the real APK on your own Android phone: over USB, as a download from the builder, or with a temporary QR link on the same Wi-Fi (beta). If you want to click through the app on your computer screen, you can open the same Gradle project in Android Studio and run it on Android Studio’s emulator.
When an emulator helps
An emulator is useful for checking layouts on different screen sizes, Android versions and font scales, or when no phone is nearby. It does not prove real-device speed, camera, sensors, notifications or battery behavior, so test those on a physical phone before release.
Before you start
- Let Apirex finish at least one successful Android build so the project folder is complete.
- Install Android Studio from developer.android.com if you do not have it. Apirex does not need it for normal builds.
- Make sure your computer has room for an emulator system image; each one is several gigabytes.
Create a virtual device
- Open Android Studio and choose Device Manager.
- Create a virtual device, pick a phone profile and download a recent system image.
- Start the virtual device and wait until its home screen appears.
Run the Apirex project
- In Android Studio choose Open and select the project folder that contains settings.gradle.kts or settings.gradle.
- Wait for Gradle sync to finish. Accept only the SDK components it asks for; do not apply automatic dependency upgrades.
- Select the running emulator in the device menu and press Run.
- Test the main journey with realistic input, then tell Apirex in chat what looked wrong.
# Optional: list running emulators and connected phones
adb devices -l
# Install an APK you already built on the emulator
adb -s emulator-5554 install -r app/build/outputs/apk/debug/app-debug.apkAvoid build conflicts
Do not run an Android Studio build while Apirex is changing or building the same project. Wait for the builder to finish, then run from Android Studio. Because Android’s debugging tool lists a running emulator like a connected device, it may also appear in Apirex’s phone install list; the tested path is a real phone, so if it does not appear, run the app from Android Studio instead.