From 7ee84551edc97eac506aad390f571bf6b664ddb2 Mon Sep 17 00:00:00 2001 From: Eduardo Speroni Date: Mon, 11 Apr 2022 09:12:15 -0300 Subject: [PATCH] fix: use correct path to emulator executable --- lib/common/mobile/android/android-virtual-device-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/mobile/android/android-virtual-device-service.ts b/lib/common/mobile/android/android-virtual-device-service.ts index d2a02234a1..4acdab64f1 100644 --- a/lib/common/mobile/android/android-virtual-device-service.ts +++ b/lib/common/mobile/android/android-virtual-device-service.ts @@ -331,7 +331,7 @@ export class AndroidVirtualDeviceService private getConfigurationError(): string { const pathToEmulatorExecutable = this.$hostInfo.isWindows ? `${this.pathToEmulatorExecutable}.exe` - : this.pathToAndroidExecutable; + : this.pathToEmulatorExecutable; if (!this.$fs.exists(pathToEmulatorExecutable)) { return "Unable to find the path to emulator executable and will not be able to start the emulator. Searched paths: [$ANDROID_HOME/tools/emulator, $ANDROID_HOME/emulator/emulator]"; }