when I install Wireshark-win32-1.10.5.exe(this is a stable version) and
WinPcap_4_1_3.exe/3.1-WinPcap.exe(also stable version),
I also set all parameters in my android phone and xp os, then i run
" ./data/local/tcpdump-arm -n -s 0 -w - | nc -l -p 7100 " in phone shell console,
run"adb forward tcp:6100 tcp:7100 && nc 127.0.0.1 6100 | wireshark -k -S -i – "
in xp os console, but when the wireshark started, it prompts a dialog, it says:
The capture session could not be initiated (Error opening adapter:xxx) Please check that (-) is the proper interface. Help can be found at ...
I used the following command and was able to capture traffic from emulator:
Then you can pull the capture file by:
It will pull the file to the windows location from which you invoke this command.
Looks at this link for more details: http://www.kandroid.org/online-pdk/guide/tcpdump.html
Hope that helps.