如何让Fiddler2监视安卓模拟器

CONFIGURING FIDDLER
First we need to configure Fiddler to accept traffic from the emulator. In this case I am running Fiddler on the machine that is also hosting the emulator.
 
1. Start Fiddler
 
2. Go to Tools, then Fiddler Options
Figure: Going to Tools –> Fidler Options
 
3. Configure General and Connections tabs to look like the ones below:
Figure: The General tab’s settings
 
Figure: The Connections tab’s settings
 
4. Click OK
 
5. Quit and Relaunch Fiddler (important!)
 
6. Enable the Streaming feature in Fiddler so HTTP requests are shown as they occur.
 
 
 
 
CONFIGURING THE EMULATOR
1. Start the emulator
 
2. Go to Settings, then Wireless controls
 
3. Tap Mobile networks
 
4. Select Access point names
 
Figure: Access point names option
 
5. Choose the selected access point and configure the following options:
- Name : Internet
- APN : Internet 
- Proxy : Fiddler’s proxy IP address (10.0.1.26 in my case. Use cmd.exe then "ipconfig" to see your IP address
- Port : Fiddler’s proxy IP port (8888)
- Username : <Not set> (clear it if anything is already there) 
- Password : <Not set> (clear it if anything is already there)
- MCC : 310 
- MNC : 260
Don’t play with any of the other settings!
 
6. Press MENU and then press Save
 
7. Keep going back until you’re at the home screen. I don’t know if this makes a difference, but I’m just making sure…
 
8. Try loading a Web site and you should see the traffic in Fiddler.
 
Figure: Web traffic still works, but is flowing through Fiddler.
 
 
Figure: Traffic being captured in Fiddler.
 
That should do it!
 
Note: You may need to disable Windows Firewall to make this work. Obviously I don’t need to tell you not to do this on a public network.
Fiddler是一个常用的用于抓包分析网络流量的工具。根据引用,早期版本的雷电模拟器在访问应用内嵌网页时可能会出现加载问题。为了解决这个问题,可以考虑切换到主流版本的Fiddler,如Fiddler 5 雷电模拟器 4.0。你可以下载并安装这个版本的Fiddler。 引用提到了解决安卓手机不能抓包的两种方法:一是将手机系统换成低版本的安卓系统,二是获取手机的root权限并将证书制作成系统证书。如果你的手机不符合这些条件,你可以考虑在电脑上使用模拟器进行抓包。因此,使用Fiddler雷电模拟器是一个可行的解决办法。 总结起来,如果你遇到了Fiddler抓包雷电模拟器的问题,可以尝试切换到主流版本的Fiddler,如Fiddler 5 雷电模拟器 4.0,并在电脑上使用模拟器进行抓包。这样可以解决早期版本在访问应用内嵌网页时可能出现的加载问题,并避免手机不能抓包的限制。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [fiddler5+雷电模拟器4.0对app抓包设置](https://blog.csdn.net/u011463397/article/details/125863606)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] - *3* [fiddler+安卓雷电模拟器+解决无法抓包问题,看我就对了,一站式解决问题,告别到处搜文章](https://blog.csdn.net/weixin_43391813/article/details/130850778)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值