I can not create a device with avdmanager command line:
$ Android/Sdk/tools/bin/avdmanager create avd --name Nexus6P --tag 11 --package 'system-images;android-23;google_apis;x86_64' Error: Invalid --tag 11 for the selected package. $ Android/Sdk/tools/bin/avdmanager create avd --name Nexus6P --package 'system-images;android-23;google_apis;x86_64' Error: Invalid --tag default for the selected package. $ Android/Sdk/tools/bin/avdmanager list Available Android Virtual Devices: Available devices definitions: ... --------- id: 11 or "Nexus 6P" Name: Nexus 6P OEM : Google ---------
Any idea?
If you don't care about it being a Nexus 6P, you can run
echo no | Android/Sdk/tools/bin/avdmanager create avd --force --name testAVD --abi google_apis/x86_64 --package 'system-images;android-23;google_apis;x86_64'
2.1m questions
2.1m answers
60 comments
57.0k users