react-native run-android启动JS服务器...在设备上构建和安装应用程序(cd android&& ./gradlew installDebug

时间:2017-02-21 10:28:52

标签: android node.js react-native sdk genymotion

在 react-native init项目 我做 : cd项目和 react-native run-android 我的版本是:nodejs v6.9.5 emulateur genymotion api 23 我有这个错误:

Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug...

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> failed to find Build Tools revision 23.0.1

* 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: 4.309 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

1 个答案:

答案 0 :(得分:0)

在SDK上安装Build Tools修订版23.0.1