Android emulator fails to start when used with tcpdump-option on Windows10

*爱你&永不变心* 提交于 2020-01-04 04:01:49

问题


I can run an avd using cmd on Windows 10 with the command:

emulator -avd avdmy

but when I want to use tcpdump to capture the network-traffic, the emulator fails to start:

emulator -avd avdmy -tcpdump ~/test.cap
qemu-system-i386.exe: -tcpdump: invalid option

I have no problems running the emulator itself. Might this be a Bug or am I missing something? The problem occurrs for every AVD I've tried. I've checked emulator -help and I am sure -tcpdump is an option. My question is do I need tcpdump installed on my Windows before I can get this to work or am I missing something else?


回答1:


The option "-tcpdump" is not valid in the latest android emulator. It only works with goldfish I guess. You may try option "-engine classic" with "-tcpdump".



来源:https://stackoverflow.com/questions/36934521/android-emulator-fails-to-start-when-used-with-tcpdump-option-on-windows10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!