diff --git a/lib/services/emulator-platform-service.ts b/lib/services/emulator-platform-service.ts index aa4b296fee..2380768505 100644 --- a/lib/services/emulator-platform-service.ts +++ b/lib/services/emulator-platform-service.ts @@ -165,7 +165,7 @@ export class EmulatorPlatformService implements IEmulatorPlatformService { public getAndroidEmulators(): IFuture { return (() => { let androidPath = path.join(process.env.ANDROID_HOME, "tools", "android"); - let text:string = this.$childProcess.exec(`${androidPath} list avd`).wait(); + let text:string = this.$childProcess.exec(`"${androidPath}" list avd`).wait(); let notLoadedIndex = text.indexOf("The following"); if (notLoadedIndex > 0) { text = text.substring(0, notLoadedIndex);