开发者

unable to connect with internet in android emulator behind proxy in windows

开发者 https://www.devze.com 2023-01-17 08:03 出处:网络
I am very new to android. I tried开发者_开发知识库 to connect to internet behind proxy in windows.But I cant.

I am very new to android. I tried开发者_开发知识库 to connect to internet behind proxy in windows.But I cant. I tried with the "-http-proxy" in command line and in eclipse but both did not worked for me :( Please suggest me a right way to enable proxy in emulator

Thanks in advance


I had the same problem, after setting HTTP_PROXY environment variable and creating a new Emulator in ADV, it was resolved. Env Variable example: HTTP_PROXY=http://your-web-proxy:8080


Are your proxy settings applied system-wide?
for Windows XP:
proxycfg -u
for Vista or 7:
netsh winhttp set proxy proxy-server="yourproxy.com:3128"
If yes, check the debug info in command prompt adding the -debug-proxy key after -http-proxy parameters

0

精彩评论

暂无评论...
验证码 换一张
取 消