React-native 安卓运行报错

2017-07-28  本文已影响0人  id_confidence

问题:

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

在谷歌上找到是权限问题,记录一笔,解决方法如下:

chmod 755 android/gradlew
运行 react-native run-android
上一篇 下一篇

猜你喜欢

热点阅读