Closed yruson closed 3 years ago
您好,我是原安卓原生开发了解不是很多,在yarn add react-native-rn-videoplayer加入包手, yarn android出现以下编译错误,我了解到应该是访问编译相关的远程文件报错了,但不知道用什么办法去解决。谢谢。
FAILURE: Build failed with an exception.
Could not resolve all artifacts for configuration ':react-native-rn-videoplayer:classpath'. Could not resolve com.android.tools.build:gradle:3.3.1. Required by: project :react-native-rn-videoplayer Could not resolve com.android.tools.build:gradle:3.3.1. Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.3.1/gradle-3.3.1.pom'. Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.3.1/gradle-3.3.1.pom'. Received status code 502 from server: Bad Gateway
第二天尝试,就OK了,谢谢。
您好,我是原安卓原生开发了解不是很多,在yarn add react-native-rn-videoplayer加入包手, yarn android出现以下编译错误,我了解到应该是访问编译相关的远程文件报错了,但不知道用什么办法去解决。谢谢。
FAILURE: Build failed with an exception.