npm运行android反应本地给予build立错误

运行react-native run-android

JS服务器已经在运行。

在设备上构build和安装应用程序(cd android && ./gradlew installDebug)…

失败:生成失败,出现exception。

  • 什么地方出了错:

configuration根项目“推送器”时出现问题。 无法parsingconfiguration':classpath'的所有依赖关系。 无法下载protobuf-java.jar(com.google.protobuf:protobuf-java:2.5.0)无法获取资源https://jcenter.bintray.com/com/google/protobuf/protobuf-java/2.5。 0 / protobuf-java-2.5.0.jar '。 无法GET'https: //jcenter.bintray.com/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar '。 sun.security.validator.ValidatorException:找不到可信的证书

  • 尝试:运行--stacktrace选项来获取堆栈跟踪。 运行--info--debug选项来获得更多的日志输出。

构build失败

我已经安装了SDK工具,并且已经正确回答了本地文档,但是仍然遇到了麻烦。

我正在使用Ubuntu 16。