首页 新闻 会员 周边 捐助

react-native搭建andorid环境遇到难题,求解决

0
[待解决问题]

**一运行react-native run-andorid就报这个错误**
```
02:49:39 E/ddms: 'E:\android\sdk\platform-tools\adb.exe,start-server' failed -- run manually if necessary
:app:installDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: java.lang.RuntimeException: 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: 43.302 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
```

ST宋泽的主页 ST宋泽 | 菜鸟二级 | 园豆:202
提问于:2017-08-04 14:57
< >
分享
所有回答(1)
0

参考:https://stackoverflow.com/questions/34754816/react-native-run-android-appinstalldebug-failed

金琥 | 园豆:2605 (老鸟四级) | 2017-08-05 10:55
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册