which urls need to be accessible for android devel

2019-04-16 05:29发布

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:

  1. What are the URLs for resolving dependencies using gradle also for updating gradle itself?

  2. Are there any additional urls apart from sdk update and gradel dependencies which need to be accssible?

3条回答
萌系小妹纸
3楼-- · 2019-04-16 05:48

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
查看更多
唯我独甜
4楼-- · 2019-04-16 05:56

This link provides with requirement for usage of gradle in android studio. with this following are answers to queries:

  1. Following are the urls need to be accessible for basic gradle functionality:

  2. 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

查看更多
登录 后发表回答