How to create Nexus 5 Android emulator by using command line -


i have android sdk installed , want create nexus 5 emulator using command line. can't use android studio virtual device manager.

to create emulator using such command:

avdmanager create avd -n nexus5_api24 -k "system-images;android-24;googl e_apis;x86" --tag "google_apis" 

the problem such command creates default emulator without skin. understand, if want set skin have specify targetid of existing skins using -t flag (according documentation: https://developer.android.com/studio/command-line/avdmanager.html)

when execute avdmanager list command can find targetid 8:

id: 8 or "nexus 5" name: nexus 5 oem : google 

but -t flag somehow doesn't exist in reality command create avd , such error when try use it:

error: flag '-t' not valid 'create avd'. 

where problem?


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -