Running React Native on Android Emulator and Real Device
Testing your React Native application on both an emulator and a real Android device is an essential part of the development process. This tutorial covers both methods step by step.
Running on an Android Emulator
First, open Android Studio and launch a virtual device from the Android Virtual Device (AVD) Manager. Once the emulator is running, execute the following command from your project directory.
This command builds your application and installs it directly onto the running emulator.
Running on a Real Android Device
To run your app on a physical Android device, first enable Developer Options and USB Debugging on the device.
Connecting Your Device
Connect your Android device to your computer using a USB cable, then verify that it is detected correctly.
If the device appears in the list, you can proceed to build and run your app directly onto it.
Running Over Wi-Fi (Wireless Debugging)
Modern Android devices also support wireless debugging, allowing you to test your app without a physical USB connection once the initial pairing is complete.
Troubleshooting Common Issues
- Device not detected – check USB debugging and cable connection
- Build fails – clear Gradle cache and rebuild
- App crashes on launch – check Metro bundler logs for JavaScript errors
Conclusion
Being able to confidently run your React Native application on both emulators and real devices is a crucial skill for effective testing and debugging throughout the development lifecycle.

