Running react native app in Android Virtual Device on Windows

by Daniel Lechner   Last Updated August 14, 2019 05:26 AM - source

I'm near frustration. I'm trying to get my react native app to run for hours. all tutorials I find, are skipping the part of Android Virtual devices not starting properly.

I have my react package via node and expo.

HOME and JAVA variables are set. VT-X is enabled. Android Studio is up to date. Whenever I start the Android Virtual Device (set up as Pixel 2) the Android device keeps presenting the Animated Google Logo, but doesn't start.

When I try to start the Android Device via Expo localhost I get an error about USB debugging, which I don't want.

Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging: If you are using Genymotion go to Settings -> ADB, select "Use custom Android SDK tools", and point it at your Android SDK directory.

Answers 1

Error occurred because the current computer and emulator are not connected.

Did you set up the Genymotion as described in the error?

If you hadn't, go to Settings -> ADB, select "Use custom Android SDK tools" ->

and point it at your Android SDK directory.


Run emulator, click developer options, enable USB debugging and enable Wi-Fi to Cellular.

Run the Genymotion Shell and type devices list to find the IP address of the device.

Open the terminal and enter adb connect deviceIp:5555. Make sure the connection to adb device is correct. Enter adb usb and adb tcpip 5555.

hong develop
hong develop
August 14, 2019 05:25 AM

Related Questions

Header component not change React native

Updated January 10, 2018 07:26 AM

React native drawer not opening on swipe over map

Updated April 18, 2018 17:26 PM