13

Fiddler manages to log all my PC HTTP traffic, but when I run Android emulator and start browsing web though emulator, nothing gets logged.

Why isn't Fiddler logging Android emulator browser HTTP traffic?

Indrek Kõue
  • 6,449
  • 8
  • 37
  • 69

2 Answers2

13

Emulator has to be aware of Fiddler, just like your normal PC browsers are. When you want Fiddler to log your IE activity, you have to set up Fiddler as a IE proxy (actually, it happens automatically, but still).

Community
  • 1
  • 1
Moyshe
  • 1,122
  • 1
  • 11
  • 19
  • 1
    Now it logs my browser http traffic, thank you. But why isn't the HTTP traffic of my own app logged? – Indrek Kõue Sep 10 '11 at 20:08
  • I haven't tried it personally, but in point 2 of my answer there's some sample code of how to set up proxy in your own application. Have you tried it? – Moyshe Sep 15 '11 at 17:37
3

Please see the detailed instructions in this video: How To Configure Fiddler Proxy for Android Studio Emulator (HTTP/HTTPS) I use Fiddler v4.6.20171.9220 and it works for me.

NOTE: http_proxy env variable may be affecting other program's ability to connect to the internet, make sure remove the variable when not needed.

valerybodak
  • 4,195
  • 2
  • 42
  • 53