Bug 1722347 - Check for the AVD in |mach android-emulator|. r=owlish

Differential Revision: https://phabricator.services.mozilla.com/D120862
This commit is contained in:
Agi Sferro 2021-07-26 17:57:30 +00:00
parent 7f7e073259
commit 6296f9a20b

View File

@ -535,6 +535,15 @@ class AndroidEmulatorCommands(MachCommandBase):
)
return 1
if not emulator.check_avd():
command_context.log(
logging.WARN,
"emulator",
{},
"AVD not found. Please run |mach bootstrap|.",
)
return 2
if not emulator.is_available():
command_context.log(
logging.WARN,