gpt4 book ai didi

Android Studio gradle 从服务器 : Bad Request 收到状态代码 400

转载 作者:行者123 更新时间:2023-11-29 15:36:48 26 4
gpt4 key购买 nike

当我尝试同步我的项目时,所有库都返回 400 错误代码。

例如:

Error:A problem occurred configuring project ':app'.
Could not resolve all files for configuration ':app:classpath'.
Could not download gradle-retrolambda.jar (me.tatarka:gradle-retrolambda:3.7.0)
Could not get resource 'https://jcenter.bintray.com/me/tatarka/gradle-retrolambda/3.7.0/gradle-retrolambda-3.7.0.jar'.
Could not HEAD 'https://jcenter.bintray.com/me/tatarka/gradle-retrolambda/3.7.0/gradle-retrolambda-3.7.0.jar'. Received status code 400 from server: Bad Request

最佳答案

Check to see if the agent has been set up for your computer's C:\Users\***\.gradle gradle.properties file.Delete the last four lines if you have the following code.

systemProp.https.proxyPort=80
systemProp.http.proxyHost=mirrors.neusoft.edu.cn
systemProp.https.proxyHost=mirrors.neusoft.edu.cn
systemProp.http.proxyPort=80

关于Android Studio gradle 从服务器 : Bad Request 收到状态代码 400,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48136949/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com