I have the same problem. I am using 1.5r1 sdk(no problem with 1.1r1 on the same computer). The flowing is the debug info when using the "- debug-proxy" option:
D:\Downloads>emulator -avd avd15addon -sdcard d:\sd.iso -http-proxy 127.0.0.1:5865 -debug-proxy proxy_http_setup: creating http proxy service connecting to: 127.0.0.1:5865 server name '127.0.0.1' resolved to 127.0.0.1:5865 proxy_http_setup: creating HTTP Proxy Service Footer is (len=2): ' ' http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: <unknown error> http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: <unknown error> http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: <unknown error> http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: <unknown error> On 5月2日, 下午6时59分, David Turner <[email protected]> wrote: > Mmm, can't reproduce this. Again, can someone post the content of > -debug-proxy when trying to connect to their proxy with -http-proxy, > this will help me understand the problem. > > Thanks in advance > > On Thu, Apr 30, 2009 at 5:12 PM, Ed Burnette <[email protected]> wrote: > > > I can verify that using the -http-proxy option alone is not enough > > anymore with 1.5_r1. Setting the proxy address and port number as > > described by mspanduranga works for me. Actually you don't need the IP > > address: a regular domain name works too. > > > I think this might be a bug in the emulator. > > > On Apr 28, 2:14 am, mspanduranga <[email protected]> wrote: > > > Hi David, > > > > Thanks for your response !! > > > > It works for me now !! > > > > Theproxyset up works if we set theproxyin Home-> Application menu -> > > settings -> Wireless Controls -> Mobile Networks -> Access Point > > > > Names. > > > > Select any existing access point name and set the ip of yourproxyand > > > port number. > > > > (For eg. if theproxyis abc.def.com:1080 , set its IP address of > > > abc.def.com and port as 1080 in Access point name ) > > > > After that it works fine. > > > > ( I am even able to save an additional "home" profile in 1.5 > > (withoutproxy/port info)....so when at home, I just use the "home" profile > > and > > > I can browse onAndroid) > > > > Thanks > > > mspanduranga > > > > On Apr 23, 8:42 pm, David Turner <[email protected]> wrote: > > > > > Hello, > > > > > can you run 'emulator-debug-proxy-http-proxy<yourproxy>' and send the > > > > output here? > > > > this will print the messages exchanged between the emulated system and > > your > > > >proxyand > > > > might help debug the issue. > > > > > On Mon, Apr 20, 2009 at 9:47 PM, mspanduranga <[email protected] > > >wrote: > > > > > > Hi All, > > > > > > I am trying to connect to the internet ( I am behind a http_proxy ) > > > > > using 1.5_pre SDK.......but is not working for me.. > > > > > > I already tried the two suggestions given in > > >http://developer.android.com/guide/developing/tools/emulator.html#proxy > > > > > > but it does not seem to working. > > > > > > In the earlier SDK version (r10)...giving [host_name]:[port_no] used > > > > > to work > > > > > > Please help....what else do I need to do ? > > > > > > thank you > > > > > mspanduranga --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

