How do I add -http-proxy to an android emulator launch from Android Studio 2.0

后端 未结 3 930
梦谈多话
梦谈多话 2021-01-02 23:27

I have a local dev web server running on a machine sitting next to me.

I use a hosts file locally on my laptop to map an url to the machine and apparently the andro

3条回答
  •  爱一瞬间的悲伤
    2021-01-03 00:04

    Open the Android emulator, go to mobile data settings, change the APN and insert there ip and port of your proxy.

    From now on, all the data in/out of the emulator will go through your proxy.

提交回复
热议问题