Sometimes we are in a situation where we want to see all the network traffic happening in a app. This can be quite troublesome and we therefor need a easy way of doing it.In this article I will cover how to intercept HTTP/HTTPS traffic from a Android emulator by using a MITM (Man In The Middle) Proxy. For getting started we need two things (For creating our proxy server) Mitmproxy (For running the application on) Android emulator We start by installing Mitmproxy, they have nice on their website. When using Mac with HomeBrew you can do .After installing Mitmproxy, we need to setup a android emulator. The approach we are taking here requires us to use a Android version lower than 7. I use Android 6 (API 23). installation guides brew install mitmproxy AVD example of setup with Android 6 (API 23) After installing all requirements, we will start the proxy and setup the emulator to use it. For starting the proxy we run , this will start up a proxy running on port . ( opens a website showing request, if you want to see it in the terminal only use instead)For using the proxy with the emulator, open the emulator and go to the configuration window. Under the configuration window go to → and change it to manual proxy config. Then enter the IP address of your computer (you can use to find it) and the default port for the proxy is . Remember that the image is showing an example with my local IP, yours will probably be different. mitmweb 8080 mitmweb mitmproxy Settings Proxy ifconfig 8080 Android emulator settings example for my computer Now your proxy is all setup, the next step is to install the certificate. To install the certificate go to on the android simulator and you should see the following screen. mitm.it Android emulator showing mitm.it On this screen choose android and give the certificate a name. I named mine , but the name can be whatever you like. After installing the certificate, you are ready to use the proxy. Open up your application. You can now view your request in your browser so you can troubleshoot what went wrong. mitm.it Example of data received through mitmproxy Keep in mind that some apps might not allow you to do this, as this could be breaking the terms you agreed to.