tcpdump
A powerful command-line packet analyzer; and libpcap, a portable C/C++ library for network traffic capture.
How to sniff traffic from Android emulator
Check which AVDs are present
Select your AVD and run (avoid this part if you are running the emulator yet)
Install tcpdump on the Android device (download here: https://www.androidtcpdump.com/android-tcpdump/downloads)
Forward an android port to host
Start sniff traffic with tcpdump
Connect wireshark to the forwarded port via netcat
References
Last updated
Was this helpful?