在Windows10上与tcpdump-option一起使用时,Android模拟器无法启动 [英] Android emulator fails to start when used with tcpdump-option on Windows10
问题描述
我可以在Windows 10上使用cmd在以下命令上运行avd:
I can run an avd using cmd on Windows 10 with the command:
emulator -avd avdmy
但是当我想使用tcpdump捕获网络流量时,模拟器无法启动:
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
运行模拟器本身没有问题.可能是Bug,还是我错过了一些东西?我尝试过的每个AVD都会出现问题.我已经检查了模拟器-help,并且确定-tcpdump是一个选项.我的问题是我需要先在Windows上安装tcpdump才能使它起作用,或者我还缺少其他东西吗?
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?
推荐答案
选项"-tcpdump"在最新的Android模拟器中无效.我猜这只对金鱼有效.您可以尝试将选项"-engine classic"与"-tcpdump"一起使用.
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".
这篇关于在Windows10上与tcpdump-option一起使用时,Android模拟器无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!