Need help in running multiple emulators with AOSP

230 views
Skip to first unread message

TORAL PANCHAL

unread,
Apr 21, 2020, 11:44:07 AM4/21/20
to Android Building

Problem overview:

After building AOSP with custom emulator(updated default.xml), facing error in executing multiple emulators simultaneously

 

Commands:

Shell1:

<setting up env> emulator -port <emulator port> -no-skin -no-audio -no-window -qemu -device <goldfish_device_name>,addr=<ADDRESS>,size=<SIZE>

Shell2: (same command to up second emulator)

<setting up env> emulator -port <emulator port> -no-skin -no-audio -no-window -qemu -device <goldfish_device_name>,addr=<ADDRESS>,size=<SIZE>

 

Error:

In shell1, no error is faced. Emulator runs fine.

In shell2, ERROR: Running multiple emulators with the same AVD is an experimental feature

 

Question:

How to correctly create multiple AVDs with AOSP such that multiple emulators can work simultaneously?

 

Frank Yang

unread,
Apr 21, 2020, 1:12:37 PM4/21/20
to android-...@googlegroups.com
In reply to your question on android-building:

Need help in running multiple emulators with AOSP

Add -read-only to the command line options


--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/1cea1f4e-cd11-4fb1-be5e-e46edce496df%40googlegroups.com.

TORAL PANCHAL

unread,
Apr 26, 2020, 1:25:27 PM4/26/20
to Android Building
Thanks  Lingfeng Yang, "-read-only" worked.

Below commands worked:

Commands:

Shell1:

<setting up env> emulator -port <emulator port> -no-skin -no-audio -no-window -read-only -qemu -device <goldfish_device_name>,addr=<ADDRESS>,size=<SIZE>

Shell2: (same command to up second emulator)

<setting up env> emulator -port <emulator port> -no-skin -no-audio -no-window -read-only-qemu -device <goldfish_device_name>,addr=<ADDRESS>,size=<SIZE>



On Tuesday, 21 April 2020 22:42:37 UTC+5:30, Lingfeng Yang wrote:
In reply to your question on android-building:

Need help in running multiple emulators with AOSP

Add -read-only to the command line options


On Tue, Apr 21, 2020 at 8:44 AM TORAL PANCHAL <toralpa...@gmail.com> wrote:

Problem overview:

After building AOSP with custom emulator(updated default.xml), facing error in executing multiple emulators simultaneously

 

Commands:

Shell1:

<setting up env> emulator -port <emulator port> -no-skin -no-audio -no-window -qemu -device <goldfish_device_name>,addr=<ADDRESS>,size=<SIZE>

Shell2: (same command to up second emulator)

<setting up env> emulator -port <emulator port> -no-skin -no-audio -no-window -qemu -device <goldfish_device_name>,addr=<ADDRESS>,size=<SIZE>

 

Error:

In shell1, no error is faced. Emulator runs fine.

In shell2, ERROR: Running multiple emulators with the same AVD is an experimental feature

 

Question:

How to correctly create multiple AVDs with AOSP such that multiple emulators can work simultaneously?

 

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages