本文介绍了启动Android模拟器时,如何显示将哪些选项传递给QEMU?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从源代码构建了AOSP 8.1.0_r60,并按照以下说明进行了启动: https://stackoverflow.com/revisions/48310014/9

I built AOSP 8.1.0_r60 from source, and launched it as explained at: https://stackoverflow.com/revisions/48310014/9

. build/envsetup.sh
lunch aosp_x86_64-eng
emulator -show-kernel

我现在如何查看所有传递给QEMU的命令行选项,以更好地了解发生了什么?

How can I now see all the command line options being passed to QEMU to better understand what is going on?

推荐答案

-verbose

-verbose

只需运行:

emulator -verbose

这使仿真器命令包含以下形式的行:

This makes the emulator command contains lines of form:

emulator: argv[00] = "/path/to/aosp/8.1.0_r60/prebuilts/android-emulator/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64"
emulator: argv[01] = "-dns-server"
emulator: argv[02] = "10.1.2.24,10.1.2.23"
emulator: argv[03] = "-serial"
emulator: argv[04] = "stdio"

显示所有给定的参数.

这篇关于启动Android模拟器时,如何显示将哪些选项传递给QEMU?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 10:10