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
// If we got here, something terribly wrong happened.
373
-
thrownewError(`The determined Android runtime version ${runtimeVersion}based on project directory ${projectDir}is not valid. Unable to verify if the current system is setup for Android development.`);
377
+
thrownewError(`The determined Android runtime version ${runtimeVersion} is not valid. Unable to verify if the current system is setup for Android development.`);
* Checks if a local build can be executed on the current machine.
177
182
* @param {string} platform The platform for which to check if local build is possible.
183
+
* @param {string} projectDir @optional The project directory. Used to determine the Android Runtime version and validate the Java compiler version against it.
184
+
* If it is not passed or the project does not have Android runtime, this validation is skipped.
185
+
* @param {string} runtimeVersion @optional The runtime version against which the validation is executed. In case this parameter is passed, it takes precedence over the projectDir argument.
178
186
* @return {Promise<boolean>} true if local build can be executed for the provided platform.
* @param {string} projectDir @optional The project directory. Used to determine the Android Runtime version and validate the Java compiler version against it.
434
-
* If it is not passed or the project does not have Android runtime, this validation is skipped.
435
441
* @return {NativeScriptDoctor.IWarning[]} An array of errors from the validation checks. If there are no errors will return [].
* @param {string} installedJavaVersion The version of javac to check.
442
448
* @param {string} projectDir @optional The project directory. Used to determine the Android Runtime version and validate the Java compiler version against it.
443
449
* If it is not passed or the project does not have Android runtime, this validation is skipped.
450
+
* @param {string} runtimeVersion @optional The runtime version against which the validation is executed. In case this parameter is passed, it takes precedence over the projectDir argument.
444
451
* @return {NativeScriptDoctor.IWarning[]} An array of errors from the validation checks. If there are no errors will return [].
0 commit comments