一、问题描述
之前因为需要更新SDK等一些自带的工具,需要设置代理才能更好的下载下来。所以对Android Studio设置了代理。
下载完之后,编译程序的时候,因为有些资源是在公司内网的maven仓库或者gitlab仓库里面。使用代理的话,是无法拉取下来的。
A problem occurred evaluating script.
> Could not get resource 'http://xxx.gitlab.com/XXXXX/dependencies.gradle'.
> Could not HEAD 'http://xxx.gitlab.com/XXXXX/dependencies.gradle'. Received status code 503 from server: Service Unavailable