my avd config file:
{
"avd_list": [
{
"avd_name": "EM1",
"create_avd_package": "system-images;android-24;google_apis;x86",
"create_avd_device": "EM1",
"create_avd_tag": "google_apis",
"create_avd_abi": "x86",
"create_avd_additional_options": "AVD_recreate_new false",
"create_avd_hardware_config_filepath": "/.android/avd/EM1.avd/config.ini",
"launch_avd_port": "2557",
"launch_avd_snapshot_filepath": "/.android/avd/EM1.avd/config.ini/EM1_SNAPSHOT.img",
"launch_avd_launch_binary_name": "emulator2",
"launch_avd_additional_options": "-gpu on"
}
]
}
I get error:
[17:36:44]: AVD with name 'EM1' does not exist. Creating new AVD.
[17:36:44]: $ echo "no" | /Users/sdutta/Library/Android/sdk/tools/bin/avdmanager create avd --name "EM1" --package "system-images;android-24;google_apis;x86" --device "EM1" --tag google_apis --abi x86
[17:36:45]: ▸ Error: No device found matching --device EM1.
[17:36:45]: ▸ null
+------------------+--------------------+
| Lane Context |
+------------------+--------------------+
| DEFAULT_PLATFORM | android |
| PLATFORM_NAME | android |
| LANE_NAME | android fastscreen |
+------------------+--------------------+
[17:36:46]: Exit status of command 'echo "no" | /Users/sdutta/Library/Android/sdk/tools/bin/avdmanager create avd --name "EM1" --package "system-images;android-24;google_apis;x86" --device "EM1" --tag google_apis --abi x86 ' was 1 instead of 0.
Error: No device found matching --device EM1.
null
my avd config file:
I get error: