Monitor network activity in Android Phones

前端 未结 11 1738
庸人自扰
庸人自扰 2020-11-28 02:47

I would like to monitor network traffic of my Android Phone. I was thinking using tcpdump for Android, but I\'m not sure if I have to cross-compile for the phone.

An

11条回答
  •  佛祖请我去吃肉
    2020-11-28 03:39

    If you are doing it from the emulator you can do it like this:

    Run emulator -tcpdump emulator.cap -avd my_avd to write all the emulator's traffic to a local file on your PC and then open it in wireshark

    There is a similar post that might help HERE

提交回复
热议问题