[英]A problem occurred configuring project ':react-native-vector-icons'
Could not resolve all files for configuration ':react-native-vector-icons:classpath'. 无法解析配置':react-native-vector-icons:classpath'的所有文件。 Could not find any matches for com.android.tools.build:gradle:2.3.+ as no versions of com.android.tools.build:gradle are available. 找不到com.android.tools.build:gradle:2.3.+的任何匹配项,因为没有可用的com.android.tools.build:gradle版本。 Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/gradle/maven-metadata.xml https://jcenter.bintray.com/com/android/tools/build/gradle/ Required by: project :react-native-vector-icons 在以下位置搜索: https : //jcenter.bintray.com/com/android/tools/build/gradle/maven-metadata.xml https://jcenter.bintray.com/com/android/tools/build/gradle /要求:专案:react-native-vector-icons
Try below workaround 请尝试以下解决方法
subprojects {
if (project.name.contains('react-native-vector-icons')) {
buildscript {
repositories {
jcenter()
maven { url "https://dl.bintray.com/android/android-tools/" }
}
}
}
}
you should try again today as the jCenter services were taken down due to some miscommunication. 您今天应该再试一次,因为jCenter服务由于通讯不畅而被关闭了。 Now all the packages are restored. 现在,所有软件包都已还原。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.