美文网首页
React-native 安卓运行报错

React-native 安卓运行报错

作者: id_confidence | 来源:发表于2017-07-28 11:46 被阅读0次

问题:

* 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

相关文章

网友评论

      本文标题:React-native 安卓运行报错

      本文链接:https://www.haomeiwen.com/subject/bdvxlxtx.html