使用AOSP运行多个仿真器时面临的问题 [英] Facing issue in running multiple emulators with AOSP
问题描述
问题概述:
使用自定义仿真器(更新后的default.xml)构建AOSP后,在同时执行多个仿真器时遇到错误
After building AOSP with custom emulator(updated default.xml), facing error in executing multiple emulators simultaneously
命令:
Shell1: 模拟器-port -no-skin -no-audio -no-window -qemu -device,addr =,size =
Shell1: emulator -port -no-skin -no-audio -no-window -qemu -device ,addr=,size=
Shell2 :(用于启动第二个模拟器的相同命令) 模拟器-port -no-skin -no-audio -no-window -qemu -device,addr =,size =
Shell2: (same command to up second emulator) emulator -port -no-skin -no-audio -no-window -qemu -device ,addr=,size=
错误:
在shell1中,没有错误.模拟器运行正常. 在shell2中,错误:使用相同的AVD运行多个仿真器是一项实验性功能
In shell1, no error is faced. Emulator runs fine. In shell2, ERROR: Running multiple emulators with the same AVD is an experimental feature
问题:
如何使用AOSP正确创建多个AVD,以便多个仿真器可以同时工作?
How to correctly create multiple AVDs with AOSP such that multiple emulators can work simultaneously?
推荐答案
使用"-read-only"可以同时运行多个模拟器.
With "-read-only" could run multiple emulators simultaneously.
以下命令有效:
命令:
Shell1:
模拟器-port -no-skin -no-audio -no-window -read-only -qemu -device,addr =,size =
emulator -port -no-skin -no-audio -no-window -read-only -qemu -device ,addr=,size=
Shell2 :(用于启动第二个模拟器的相同命令)
Shell2: (same command to up second emulator)
模拟器-port -no-skin -no-audio -no-window -read-only-qemu -device,addr =,size =
emulator -port -no-skin -no-audio -no-window -read-only-qemu -device ,addr=,size=
这篇关于使用AOSP运行多个仿真器时面临的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!