如何通过Fiddler在Eclipse Android Emulator上捕获非浏览器流量
我想通过 Fiddler 在 Eclipse 中的 Android 模拟器上查看 trafiic。 捕获所有进程仍然缺少非浏览器流量。我的 Android 模拟器已将代理设置为本地计算机,但我只能看到浏览器流量。
I want to look at trafiic on Android Emulator in Eclipse through Fiddler.
Capturing on all processes is still missing non-browser trafiic. My Emulator Android have proxy setted to my local machine but i see ony Browser traffic.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能已经完成了这些相同的步骤,但这是我为使其正常工作所做的操作。我将来自包括 Fiddler2.com 在内的不同站点的信息拼凑在一起:
在 Fiddler 中,单击“工具”/“Fiddler 选项”/“连接”,并确保选中“允许远程计算机连接”框。 (如果尚未选中此框,请重新启动 Fiddler。)
然后记下 Fiddler PC 的 IP 地址;您可以通过将鼠标悬停在 Fiddler 工具栏中的图标上来看到这一点:(这只是您电脑的 IP):
然后在模拟器上转到设置->无线和网络->移动网络 - >接入点名称。我使用现有的APN(T-Mobile US),只是更改了代理和端口。
代理服务器只是上一步中的IP(我不需要输入http://)
端口是 8888
重新启动模拟器,您应该在 Fiddler 中看到您的应用程序流量。
You may have gone through these same steps, but here is what I did to get it to work. I pieced together info from different sites including Fiddler2.com:
In Fiddler, click Tools / Fiddler Options / Connections and ensure that the box Allow remote computers to connect is checked. (Restart Fiddler if this box wasn't already checked .)
Then Note the IP Address of the Fiddler PC; you can see this by hovering over the icon in Fiddler's toolbar: (it's just the IP of your pc):
Then on the emulator go to Setting->Wireless&Networks->Mobile Networks -> AccessPointNames. I used the existing APN (T-Mobile US) and just changed the Proxy and Port.
Proxy is just the IP from previous step (I did not need to enter http://)
Port is 8888
Restart the emulator and you should see your app traffic in Fiddler.