1

I need to run android command line tool behind a corporative HTTP proxy in --no-ui mode. When I run android list sdk help, I see these two options (among others):

--proxy-host: HTTP/HTTPS proxy host (overrides settings if defined)
--proxy-port: HTTP/HTTPS proxy port (overrides settings if defined)

Where can I define those proxy settings? In the user interface mode, I can go to Tools -> Options, but I need to do it without UI mode.

1
  • Have you managed to fix this problem? Facing the same issue. Commented Jun 29, 2017 at 6:37

1 Answer 1

2

Just set your corporate proxy parameters in the command options. For instance:

android update sdk --no-ui --proxy-host proxy --proxy-port 8080

And it should work

Sign up to request clarification or add additional context in comments.

1 Comment

There is any way to set this settings permanently without UI?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.