As pointed in How to create Android Virtual Device with command line and avdmanager?
one can in principle create AVD from command line. Though it is not straightforward. Following the docs, there should be an option -t
that specifies what particular device to emulate by specifying targetId
.
Unfortunately, as of version 25.3.1 avdmanager
does not recognize option -t
.
There is an option --tag
but it does not seem to be a -t
equivalent, since it does not recognise the provided targetId
(taken from the list).
How can I specify what device to emulate?