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
letadditionalMessage="You will not be able to build your projects for Android."+EOL
93
96
+"To be able to build for Android, verify that you have installed The Java Development Kit (JDK) and configured it according to system requirements as"+EOL+
94
97
" described in "+this.getSystemRequirementsLink();
warning=`Javac version ${installedJavaCompilerVersion} is not supported. You have to install version ${AndroidToolsInfo.MIN_JAVA_VERSION}.`;
108
+
}
109
+
110
+
if(warning){
98
111
errors.push({
99
-
warning: `Javac version ${installedJavaVersion} is not supported. You have to install at least ${AndroidToolsInfo.MIN_JAVA_VERSION}.`,
112
+
warning,
100
113
additionalInformation: additionalMessage,
101
114
platforms: [Constants.ANDROID_PLATFORM_NAME]
102
115
});
@@ -140,7 +153,7 @@ export class AndroidToolsInfo implements NativeScriptDoctor.IAndroidToolsInfo {
140
153
errors.push({
141
154
warning: "The ANDROID_HOME environment variable points to incorrect directory. You will not be able to perform any build-related operations for Android.",
142
155
additionalInformation: "To be able to perform Android build-related operations, set the `ANDROID_HOME` variable to point to the root of your Android SDK installation directory, "+
143
-
"where you will find `tools` and `platform-tools` directories.",
156
+
"where you will find `tools` and `platform-tools` directories.",
144
157
platforms: [Constants.ANDROID_PLATFORM_NAME]
145
158
});
146
159
}
@@ -299,22 +312,7 @@ export class AndroidToolsInfo implements NativeScriptDoctor.IAndroidToolsInfo {
constadditionalInformation="You will not be able to build your projects for Android."+EOL
17
+
+"To be able to build for Android, verify that you have installed The Java Development Kit (JDK) and configured it according to system requirements as"+EOL+
18
+
" described in "+Constants.SYSTEM_REQUIREMENTS_LINKS[process.platform];
0 commit comments