proxy - Need help with Android Emulator Networking -


here cmd line

"c:\progra~2\android\android-sdk\tools\emulator.exe" -avd touch -netspeed full -netdelay none -http-proxy localhost:3128 -debug-proxy 

here console out when try open google.com emulator:

server name 'localhost' resolved 127.0.0.1:3128 proxy_http_setup: creating http proxy service connecting to: localhost:3128 server name 'localhost' resolved 127.0.0.1:3128 proxy_http_setup: creating http proxy service footer (len=2): ' ' http_service_connect: trying connect (null) http_service_connect: using http rewriter tcp:(null)(880): connecting tcp:(null)(880): connected http proxy, sending header tcp:(null)(880): sending 27 bytes: >> 43 4f 4e 4e 45 43 54 20 28 6e 75 6c 6c 29 20 48    connect (null) h >> 54 54 50 2f 31 2e 31 0d 0a 0d 0a                   ttp/1.1....  tcp:(null)(880): header sent, receiving first answer line tcp:(null)(880): received 'http/1.0 400 bad request' tcp:(null)(880): connection refused, error=400 http_service_connect: trying connect (null) http_service_connect: using http rewriter tcp:(null)(888): connecting 

here exception wikitionary example debug

caused by: java.net.connectexception: en.wiktionary.org/91.198.174.232:80 - connection refused 

about proxy: squid on local machine , configured route through parent proxy (with auth). works fine browser/android sdk loader/intellij etc., emulator networking doesn't function.

the main confuse is

tcp:(null) 

any suggestions?

there bunch of recorded issues proxy support in emulator, recent versions on windows. see bug report here:

http://code.google.com/p/android/issues/detail?id=5508&q=emulator%20proxy&colspec=id%20type%20status%20owner%20summary%20stars

there suggested workarounds in there might help, setting proxy in network settings instead of emulator whole.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -