I've added tcpdump binary file to my android device using this command
./adb push ~/tcpdump-4.2.1/tcpdump /data/local
The binary is added to the android device successfully. But, when I try to execute the tcpdump file from the adb shell, using following commands
./adb shell
cd data/local
./tcpdump
It gives me this error
/system/bin/sh: ./tcpdump: not executable: magic 7F45
I've also tried changing permissions using chmod 777 tcpdump
but in vain.
How do I overcome this issue? Thanks.