在适用于Android的Visual Studio模拟器中使用代理 [英] Use proxy in Visual Studio Emulator for Android

查看:171
本文介绍了在适用于Android的Visual Studio模拟器中使用代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里是仿真器公告的链接(包含在Visual Studio 15 CTP中): https://www.visualstudio.com/zh-CN/msft-android-emulator-vs.aspx

Here is a link to the emulator announcement (included with Visual Studio 15 CTP): https://www.visualstudio.com/en-us/msft-android-emulator-vs.aspx

我想要在此VM中为Internet连接设置代理。我的目的是通过主机上的端口8888连接,以便可以在Fiddler中看到此Android VM的流量。

I would like to set up a proxy for the Internet connection in this VM. My purpose is to connect through port 8888 on my host machine so that I could see this Android VM's traffic in my Fiddler.

这可能吗? VM本身的android设置不包含任何移动网络访问点,因此我不知道如何设置代理。

Is this possible? The android settings in the VM itself do not contain any mobile network access points and therefore I can't figure out how to set up a proxy.

在此先感谢您。

推荐答案

在Visual Studio 2015 RC中,我们已经完成了这项工作。请参阅 http://blogs.msdn.com/b/visualstudioalm/archive/2015/05/06/using-fiddler-to-monitor-network-traffic-from-the-vs-完整说明请参见emulator-for-android.aspx

We've made this work as of Visual Studio 2015 RC. See http://blogs.msdn.com/b/visualstudioalm/archive/2015/05/06/using-fiddler-to-monitor-network-traffic-from-the-vs-emulator-for-android.aspx for the full instructions.

这篇关于在适用于Android的Visual Studio模拟器中使用代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆