Proxy which requires authentication with Android Emulator

前端 未结 16 1439
北海茫月
北海茫月 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:32

    I had the same problem when i use the following command:

    emulator-x86.exe -http-proxy domain\user:password@proxyIP:port -avd MyAVD
    

    I got the proxy authentication error.

    Finally, I had to bypass the proxy NTLM authentication by using the Cntlm here:

    http://sourceforge.net/projects/cntlm/

    And then after simply configuring the cntlm.ini, I use the following command instead:

    emulator-x86.exe -http-proxy 127.0.0.1:3128 -avd MyAVD
    

    and it works :)

提交回复
热议问题