react-native Genymotion VM Windows 10

问题描述:

我想让我的Genymotion虚拟设备上的工作反应原生。react-native Genymotion VM Windows 10

当我执行反应本地运行的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,但它没有帮助。

+1

使用此代码“ADB设备的 检查设备和反应本地桥运行“亚行反转TCP:TCP 8081:8081”准备 那么“故宫开始”和“反应本地运行 - 机器人”。我希望这会解决你的问题:) –

你可以按照这个问题的答案。您只需要将genymotion上的AndroidSDK路径更改为设置中已安装的android sdk。

react native errorTimeout getting device list. When running hello world on ubuntu