Use Fiddler to crawl Android_app requests in the Android emulator

Source: Internet
Author: User

Settings for the Fiddler:
Download the Fiddler on the Https://www.telerik.com/download/fiddler website and click on the button below to get the following:

After the download is successful, open fiddler to set up:
Menu bar tools= "options=" HTTPS

Tick the "Decrypt HTTPS traffic" option, and for the "Ignore Server certificate errors (unsafe)" option, you may not have to tick, then click "Actions" to click "Export Root Certificate to desktop "This time will be fiddler root certificate Fiddlerroot.cer saved to the desktop, this root certificate when the Fiddler HTTPS decryption is turned on when the Firefox browser access HTTPS address when the" Your connection is not secure "error page when used.
Then click the Connections tab next to the HTTPS tab bar:

Here we have to remember the port number shown in "Fiddler Listen on port" (for this port number, if the current default 8888 port number is already occupied, you need to reset the additional port number), and then "Allow remote computers to Connect "in front of the tick. Click OK, and then restart Fiddler.
After restarting, after opening fiddler, click on the triangle in the upper right corner of the Fiddler interface to display a "online" icon, put the mouse on the "online" icon, will show the IP address of the current machine:

Normally only show one, because my current machine has more than one virtual network card, so there will be more than one IP address, here we want to find our real use of the network card IP, you can enter the "command line" ipconfig view, Win+r open "run" input cmd:

Here we choose the ip:192.168.12.180 of Ethernet. At this point, we get an IP address and a 8888 port number.
Settings for the Android emulator:
For the Android simulator here is NetEase's mumu simulator, for example, click on the desktop "System Application" = "set" = "WLAN" Mouse on the currently connected network long press:

In the pop-up message window, click "Modify Network", enter the IP address and port number we obtained above, click Save:

Then open the browser in the simulator, enter: http://ipv4.fiddler:8888, the following page shows that we just set the HTTP proxy correct, and then click on the Red box "Fiddlerroot certificate", Download the root certificate for fiddler:

Then we came to the desktop "System Application" = "Settings" = "security" = "from SD card Installation" To find the certificate we just downloaded:

Click on the certificate and enter the name of the certificate click "OK"

At this time, if you find that Firefox browser opens the HTTPS page when the "Your connection is not safe" Prompt page, please see https://www.cnblogs.com/alonely/p/9502394.html

Use Fiddler to crawl Android_app requests in the Android emulator

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.