I print react-native run-android
And get the following output:
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:installDebug'.
com.android.builder.testing.api.DeviceException: Timeout getting device list.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 11.385 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html
I have genymotion emulator running. I have defined android home and path
export ANDROID_HOME=/home/jonstark/Documents/android/
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
In sdk manager I have downloaded all required packages. What do I do?