How to connect android emulator to the internet

前端 未结 30 1905
独厮守ぢ
独厮守ぢ 2020-11-22 04:38

How can I connect my Android emulator to the internet, e.g. to use the browser? I\'ve found lots of advice on what do to when your connected through a proxy, but that\'s not

30条回答
  •  南方客
    南方客 (楼主)
    2020-11-22 05:07

    If you are behind a proxy in the SDK Manager, under Tools -> Options, do NOT configure the proxy settings. When you run from the command line add -http-proxy:

    emulator.exe -avd YOUR_AVD_NAME_HERE -http-proxy PROXY:PORT
    

    Worked for me.

提交回复
热议问题