react-native run-android无法解析配置的所有依赖关系':classpath'

时间:2016-01-07 15:34:44

标签: android node.js react-native

我正在学习反应本机,当我在Windows 10上使用命令'react-native run-android'时出现此错误

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'demo'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not download gradle-core.jar (com.android.tools.build:gradle-core:1.3.1)
      > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle-core/1.3.1/gradle-core-1.3.1.jar'.
         > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle-core/1.3.1/gradle-core-1.3.1.jar'.
            > peer not authenticated

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

我很累,我很感激你帮助我!

0 个答案:

没有答案