Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set Android SDK behind server proxy?

Tags:

android

proxy

How can I download android sdk package behind a server proxy?

like image 256
Vervatovskis Avatar asked Apr 03 '12 12:04

Vervatovskis


2 Answers

Select Option

Edit your Proxy Settings Appropriately be setting it as show  below

you can see the proxy setting from IE if you are using windows for linux it is different

like image 95
Fred Ondieki Avatar answered Oct 03 '22 04:10

Fred Ondieki


On Linux or OSX create or edit the ~/.android/androidtool.cfg file. Add the following settings with your proxy server details:

http.proxyHost=127.0.0.1
http.proxyPort=8080

After you've added the settings start <sdk root>/tools/android sdk

The SDK manager will ask for your proxy userId / password.

like image 23
userM1433372 Avatar answered Oct 03 '22 04:10

userM1433372