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 <[email protected] 
> <javascript:>> 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 [email protected] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/1cea1f4e-cd11-4fb1-be5e-e46edce496df%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/android-building/1cea1f4e-cd11-4fb1-be5e-e46edce496df%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/73302207-6531-47e2-86a9-c6133cce6f86%40googlegroups.com.

Reply via email to