Android studio解决Received status code 400 from server: Bad Request

问题包含:

1.Received status code 400 from server: Bad Request

2.Could not GET 'https://dl.google.com/dl/android/maven2/com/mob/sdk/MobSDK/2......

3.Disable Gradle 'offline mode' and sync project

无论是关掉右上角gradle-gradle office mode

还是取消代理

加上代理

或者在mavan加上什么或者google()

或是清空缓存重启甚至卸载AS

都没用...

解决办法:

 打开如下目录:C:\Users\Administrator\.gradle

然后使用notepad或者记事本打开

删掉最后四行即可


你可能感兴趣的:(Android studio解决Received status code 400 from server: Bad Request)