From 2f101685e79bd805e5814701aa4f67825f1fba57 Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Wed, 14 Jan 2015 14:16:00 +0200 Subject: [PATCH] Fix android emulator starting Add appId option when starting android emulator in order to fix starting of the application (it is installed correctly on the device, but last call, that has to start the app, uses appid). Update common lib where support for genymotion emulator has been added. https://github.com/NativeScript/nativescript-cli/issues/167 --- lib/common | 2 +- lib/services/platform-service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common b/lib/common index a79f6dd917..d34a94aad0 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit a79f6dd91757e9c5ecd08734e88fec4590676da8 +Subproject commit d34a94aad0fd2892a8dc722d7c85791e58d0604f diff --git a/lib/services/platform-service.ts b/lib/services/platform-service.ts index db9175676c..c2c591c1b3 100644 --- a/lib/services/platform-service.ts +++ b/lib/services/platform-service.ts @@ -250,7 +250,7 @@ export class PlatformService implements IPlatformService { var logFilePath = path.join(platformData.projectRoot, this.$projectData.projectName, "emulator.log"); - emulatorServices.startEmulator(packageFile, { stderrFilePath: logFilePath, stdoutFilePath: logFilePath }).wait(); + emulatorServices.startEmulator(packageFile, { stderrFilePath: logFilePath, stdoutFilePath: logFilePath, appId: this.$projectData.projectId }).wait(); }).future()(); }