Proxy which requires authentication with Android Emulator

前端 未结 16 1427
北海茫月
北海茫月 2020-11-30 03:07

Has anybody managed to get the Android Emulator working behind a proxy which requires authentication?

I\'ve tried setting the -http-proxy argument to



        
16条回答
  •  鱼传尺愫
    2020-11-30 03:41

    I was able to view the traffic with an HTTP sniffer instead of a proxy. I used HTTPScoop, which is a nice little app.

    Also the nice thing about using HTTPScoop is that I can also see traffic on my actual device when I turn on internet sharing and have my phone use the wifi from my mac. So this is a good deal for debugging what happens on the phone itself AND the emulator.

    This way it doesn't matter what emulator you use, because the sniffer sees the traffic independent of the emulator, device, compiler settings etc.

提交回复
热议问题