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 incorrect message for selected target SDK (Bulgarian symbols were used)
* Improve message for build tools when the prefix and suffix have the same version (>=22 <=22) - #900
* Rename supportLibraryVersion to supportRepositoryVersion and improve messaging as Gradle does not work with Android Support Library - instead it works with Android Support Repository.
@@ -54,13 +54,22 @@ export class AndroidToolsInfo implements IAndroidToolsInfo {
54
54
}
55
55
56
56
if(!toolsInfoData.buildToolsVersion){
57
-
this.printMessage(`You need to have the Android SDK Build-tools installed on your system. You can install any version in the following range: '${this.getBuildToolsRange()}'.`,
message=`You have to install version ${versionRangeMatches[1]}.`;
64
+
}
65
+
66
+
this.printMessage("You need to have the Android SDK Build-tools installed on your system. "+message,
58
67
'Run "android" from your command-line to install required Android Build Tools.');
59
68
}
60
69
61
-
if(!toolsInfoData.supportLibraryVersion){
62
-
this.printMessage(`You need to have the Android Support Library installed on your system. You can install any version in the following range: ${this.getAppCompatRange().wait()||">="+AndroidToolsInfo.MIN_REQUIRED_COMPILE_TARGET}}.`,
63
-
'Run `$ android` to manage the Android Support Library.');
70
+
if(!toolsInfoData.supportRepositoryVersion){
71
+
this.printMessage(`You need to have the latest Android Support Repository installed on your system.`,
72
+
'Run `$ android` to manage the Android Support Repository.');
64
73
}
65
74
66
75
if(options&&options.validateTargetSdk){
@@ -71,7 +80,7 @@ export class AndroidToolsInfo implements IAndroidToolsInfo {
0 commit comments