I am working behind a strict proxy and struggling with identification of URLs which need to be accessible for android developement.
I know for SDK updates https://dl-ssl.google.com/
should be accessible.
I need answer to following queries:
What are the URLs for resolving dependencies using gradle also for updating gradle itself?
Are there any additional urls apart from sdk update and gradel dependencies which need to be accssible?
This link provides with requirement for usage of gradle in android studio. with this following are answers to queries:
Following are the urls need to be accessible for basic gradle functionality:
- https://repo1.maven.org/maven2/
- https://jcenter.bintray.com/
Apart from these any URL required for access of custom libraries hosted on other then default location.
Getting exceptional access from DevOps team for said URLs will solve the problem
After a quick search,I also found below urls-
- http://download.gradle.com
- http://services.gradle.com
- https://repo1.maven.org/maven2/
- https://jcenter.bintray.com/
- http://repo.jfrog.org
May be these will work.
if your'e running gradle behind a proxy. try adding the proxy settings to your gradle.properties file e.g.
systemProp.http.proxyUser=myusername
systemProp.http.proxyPort=yourport
systemProp.http.proxyPassword=proxypasswordhere
systemProp.http.proxyHost=proxy url/ip here