Not able to run executable file from adb shell
You can find an Android version of tcpdump here. This build is somewhat outdated, and only relevant for ARM devices. You should follow these instructions to build the binary from official source.
There are detailed instructions re how to run tcpdump on Android. Note that you need a rooted device to begin with.
try the following command:
enter this command c:\ProgramFiles\Android\android-sdk\platform-tools\adb shell tcpdump
for linux:
adb shell chmod 6755 /data/local/tmp/tcpdump
and also go through this link for better understanding: