mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
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:
parent
7f7e073259
commit
6296f9a20b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user