You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When ANDROID_HOME environment variable is not set, we call childProcess exec and spawn with undefined command.
This leads to "futures left behind" errors.
Make sure the commands will be executed only in case they are not undefined.
Also make sure that `tns prepare android` will fail immediately in case ANDROID_HOME is not set (currently it shows warning for ANDROID_HOME and shows error for compile SDK).
this.printMessage(`Unable to find "${this.androidExecutableName}" executable file. Make sure you have set ANDROID_HOME environment variable correctly.`);
48
51
}
49
52
}else{
50
-
this.printMessage("ANDROID_HOME environment variable is not set correctly.");
53
+
this.$logger.trace("ANDROID_HOME environment variable is not set correctly.");
51
54
}
52
55
}
53
56
@@ -338,11 +341,14 @@ export class AndroidToolsInfo implements IAndroidToolsInfo {
0 commit comments