Use proxy in Visual Studio Emulator for Android

↘锁芯ラ 提交于 2019-12-04 08:44:32

Once you have launched the emulator follow the steps below.

  • Settings
  • WI-FI
  • Long tap on network you are connected to and select Modify network config
  • Check the Show advanced options checkbox
  • Lastly change the proxy settings

Hope this works for you.

Unfortunately it's not possible to monitor network traffic on the VS Emulator for Android yet. This is because we treat the network connection as an Ethernet connection, and you can only set a proxy on a WiFi network adapter in Android. It doesn't even work when you try to manually set the System.HTTP_PROXY variable via a Java System.putString() call, because Android only gives this permission to system apps. We're working on a fix for this and it should be available soon!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!