1.Received status code 400 from server: Bad Request
错误原因是代理配置的有问题
在这个路径下有个gradle.properties文件,将下面的删除掉
2.Unknown host ‘d29vzk4ow07wi7.cloudfront.net’. You may need to adjust the proxy settings in Gradle
(1)这个地方不能打勾,如果打勾需要去掉
(2)需要将下面的语句加在jcenter()上面
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
参考博客:
https://blog.csdn.net/zenmela2011/article/details/82892490
https://blog.csdn.net/qq_38287890/article/details/100512456
https://blog.csdn.net/qq_15988951/article/details/84726934