无法在反应原生导航中构建第三方

时间:2018-04-03 09:35:56

标签: react-native react-native-navigation wix-react-native-navigation

安装react-native-navigation后,我想重建它。构建失败。

  

失败:构建因异常而失败。

     

出了什么问题:

     

无法解析配置的所有文件':app:debugCompileClasspath'。
  无法解决com.aurelhubert:ahbottomnavigation:2.0.6。
  要求:
        项目:app>项目:react-native-navigation   无法解决com.aurelhubert:ahbottomnavigation:2.0.6。   无法获得资源' https://jcenter.bintray.com/com/aurelhubert/ahbottomnavigation/2.0.6/ahbottomnavigation-2.0.6.pom'。   无法获得' https://jcenter.bintray.com/com/aurelhubert/ahbottomnavigation/2.0.6/ahbottomnavigation-2.0.6.pom'。   连接到jcenter.bintray.com:443 [jcenter.bintray.com/75.126.118.188]失败:连接超时:连接   无法解决com.aurelhubert:ahbottomnavigation:2.0.6。   无法获得资源' https://dl.google.com/dl/android/maven2/com/aurelhubert/ahbottomnavigation/2.0.6/ahbottomnavigation-2.0.6.pom'。   无法获得' https://dl.google.com/dl/android/maven2/com/aurelhubert/ahbottomnavigation/2.0.6/ahbottomnavigation-2.0.6.pom'。   连接到dl.google.com:443 [dl.google.com/74.125.24.93,dl.google.com/74.125.24.136,dl.google.com/74.125.24.91,dl.google.com/74.125.24.190]失败:连接超时:连接   无法解决com.balysv.materialmenu:material-menu-toolbar:1.5.4。     要求:         项目:app>项目:react-native-navigation   无法解决com.balysv.materialmenu:material-menu-toolbar:1.5.4。   无法获得资源' https://jcenter.bintray.com/com/balysv/materialmenu/material-menu-toolbar/1.5.4/material-menu-toolbar-1.5.4.pom'。   无法获得' https://jcenter.bintray.com/com/balysv/materialmenu/material-menu-toolbar/1.5.4/material-menu-toolbar-1.5.4.pom'。   连接到jcenter.bintray.com:443 [jcenter.bintray.com/75.126.118.188]失败:连接超时:连接   无法解决com.balysv.materialmenu:material-menu-toolbar:1.5.4。   无法获得资源' https://dl.google.com/dl/android/maven2/com/balysv/materialmenu/material-menu-toolbar/1.5.4/material-menu-toolbar-1.5.4.pom'。   无法获得' https://dl.google.com/dl/android/maven2/com/balysv/materialmenu/material-menu-toolbar/1.5.4/material-menu-toolbar-1.5.4.pom'。   连接到dl.google.com:443 [dl.google.com/74.125.24.93,dl.google.com/74.125.24.136,dl.google.com/74.125.24.91,dl.google.com/74.125.24.190]失败:连接超时:连接

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

  • https://help.gradle.org

  • 获取更多帮助

在3米32秒内失败 5个可操作的任务:1个执行,4个最新 无法在设备上安装应用程序,请阅读上面的错误以获取详细信息。 确保您正在运行Android模拟器或已连接设备 设置Android开发环境: https://facebook.github.io/react-native/docs/getting-started.html

我没有改变build.gradle中的任何内容。提前致谢

1 个答案:

答案 0 :(得分:0)

感谢您的回复,但问题是我的办公室连接中有代理。当我改变连接以使用我自己的wifi时,它的工作原理!

相关问题