
The process can be as simple as connecting your Android device to the computer you use for development and running a command.

If you own a physical Android device and prefer to test your app on it, React Native has got you covered there too. For example, you can set up an emulator based on a device like the Google Pixel and use your preferred version of the Android operating system.

Using the Android Virtual Device offers a wide variety of virtual devices that can be emulated. With React Native, you can choose to test run your app either on an emulator or on a physical device.Īn emulator is a virtual device that lets you test your app without owning an actual device. JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.React Native is a mobile development framework for building cross-platform apps that run and feel truly native on both iOS and Android. Info Starting the app (adb shell am start -n com.nativereact/.īuild #AI-183.5429.501, built on April 10, 2019 Read: -1Ģ6 actionable tasks: 1 executed, 25 up-to-date Read: -1Ġ1:44:47 V/ddms: execute: running rm "/data/local/tmp/app-debug.apk"Ġ1:44:47 V/ddms: execute 'rm "/data/local/tmp/app-debug.apk"' on 'emulator-5554' : EOF hit. Installing APK 'app-debug.apk' on 'Pixel_2_API_28(AVD) - 9' for app:debugĠ1:44:46 D/app-debug.apk: Uploading app-debug.apk onto device 'emulator-5554'Ġ1:44:46 D/Device: Uploading file onto device 'emulator-5554'Ġ1:44:46 D/ddms: Reading file permision of /home/kasra/Documents/Linkap/nativeReact/android/app/build/outputs/apk/debug/app-debug.apk as: rw-r-r-Ġ1:44:46 V/ddms: execute: running pm install -r -t "/data/local/tmp/app-debug.apk"Ġ1:44:47 V/ddms: execute 'pm install -r -t "/data/local/tmp/app-debug.apk"' on 'emulator-5554' : EOF hit. gradlew app:installDebug).Ġ1:44:46 V/ddms: execute: running am get-configĠ1:44:46 V/ddms: execute 'am get-config' on 'emulator-5554' : EOF hit. Info Building and installing the app on the device (cd android &.

However, nothing apears on my android emulator and I got this output in terminal: info Starting JS server. Then I run react-native run-android in my project directory. I can run my android emulator successfully. I have installed android studio and Pixel 2 API 28.

I created my app using react-native-init command.
