关于Could not GET xxx, Received status code 400 from server: Bad Request和Error:Unable to resolve depen

关于Error:Unable to resolve dependency for ':@debug/compileClasspath',Could not resolve project

和Could not GET xxx, Received status code 400 from server: Bad Request的问题

一开始以为是网络出问题了,去弄了个v*n。然后不行。也设置过代理(File--setting--Appearance & Behavior -- System Setting --HTTP Proxy里面设置代理)

发现没能解决。

然后在关于Could not GET xxx, Received status code 400 from server: Bad Request和Error:Unable to resolve depen

将offline work取消勾选,也没有效果。

 

关于Could not GET xxx, Received status code 400 from server: Bad Request和Error:Unable to resolve depen

然后还会出现这种错误。

 

关于Could not GET xxx, Received status code 400 from server: Bad Request和Error:Unable to resolve depen

这种错误

这些基本都是因为HTTP的代理问题、主要是因为当时升级3.5.1的时候。他会自动把设置代理,然后那个代理又是没用的。。。

关于Could not GET xxx, Received status code 400 from server: Bad Request和Error:Unable to resolve depen

在这个位置。将这个文件里面最后四行

关于Could not GET xxx, Received status code 400 from server: Bad Request和Error:Unable to resolve depen

像这样注释掉,然后关掉软件重启,基本就可以了。