我正在尝试让react-native在我的Genymotion虚拟设备上工作。
当我在命令提示符下执行react-native run-android时,我得到的结果如下:
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: 53.693 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在VD上什么都没发生。我已经尝试在Genymotion上设置自定义SDK,但没有帮助。
发布于 2016-07-28 00:22:53
你可以按照这个问题的答案来做。您只需在设置中将genymotion上的AndroidSDK路径修改为已安装的android sdk即可。
react native errorTimeout getting device list. When running hello world on ubuntu
https://stackoverflow.com/questions/38614068
复制相似问题