Setting up the Android Emulator for HTTP debugging using Fiddler2

Fiddler2 is a great way to debug advanced HTTP communication and it can be very helpful in capturing and recreating SOAP messages. Getting up and running with the Android Emulator is pretty easy:

Step 1
Download and install Fiddler2 (

Step 2
Start Fiddler2 from the start menu or the toolbar in Internet Explorer.

Step 3
Go to Tools -> Fiddler Options -> Connections and write down the portnumber used by fiddler

Step 4
Open a command prompt and type:

emulator -avd my_avd -http-proxy (replace 8888 with the portnumber you wrote down in step 3)

(Requies the Android SDK to be in your PATH – if it’s not, navigate to the TOOLS directory in your SDK folder first)

The Emulator will start and you should now be able to see any HTTP trafic comming from the device, captured in Fiddler.

Happy fiddeling 🙂

Tags: , , , ,

4 Responses to “Setting up the Android Emulator for HTTP debugging using Fiddler2”

  1. Android Phones Says:

    Nice inspiring blog, dude. I enjoy your posting. I am about to create blog about mobile phones, too.


  2. ravi menta Says:

    I tried to use the configuration explained above with Emulator Android 2.0 SDK. I dont see any traffic in Fiddler. Can you let us know what version of Emulator did you use. Thanks for the info.

    • Olav Rask Says:

      Hi – it was way back in 1.5 🙂 Sorry to hear it’s not working anymore. I havent played arround with it since, so im sorry to say that i have no additional info. Feel free to drop me a note if you work it out.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: