本文主要是介绍Could not GET .....code 403 from server: Forbidden的错误,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
错误:
Could not GET 'http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kotlin-stdlib-jre8-1.2.0.pom'. Received status code 403 from server: Forbidden
解决办法:
在两个repositories中加上相应代码。
buildscript {allprojects {repositories {google()jcenter()mavenCentral()}}dependencies {classpath 'com.android.tools.build:gradle:3.0.1'}repositories {jcenter()mavenCentral()google()}
}
这篇关于Could not GET .....code 403 from server: Forbidden的错误的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!