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
fix(doctor): improve target and sdk compatibility detection on <8.2 (#5648)
* fix: limit android targets on cli <8.2
* chore: cleanup
* fix: validate all info not just targetSdk
* chore: bump doctor
Co-authored-by: Igor Randjelovic <[email protected]>
@@ -119,15 +128,16 @@ export class AndroidToolsInfo implements NativeScriptDoctor.IAndroidToolsInfo {
119
128
message=`You have to install version ${versionRangeMatches[1]}.`;
120
129
}
121
130
122
-
letinvalidBuildToolsAdditionalMsg=`Run \`\$ ${this.getPathToSdkManagementTool()}\` from your command-line to install required \`Android Build Tools\`.`;
131
+
// let invalidBuildToolsAdditionalMsg = `Run \`\$ ${this.getPathToSdkManagementTool()}\` from your command-line to install required \`Android Build Tools\`.`;
132
+
letinvalidBuildToolsAdditionalMsg=`Install the required build-tools through Android Studio.`;
123
133
if(!isAndroidHomeValid){
124
134
invalidBuildToolsAdditionalMsg+=
125
-
" In case you already have them installed, make sure `ANDROID_HOME` environment variable is set correctly.";
135
+
" In case you already have them installed, make sure the `ANDROID_HOME` environment variable is set correctly.";
126
136
}
127
137
128
138
errors.push({
129
139
warning:
130
-
"You need to have the Android SDK Build-tools installed on your system. "+
140
+
"No compatible version of the Android SDK Build-tools are installed on your system. "+
0 commit comments