You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by no...@apache.org on 2022/02/22 14:14:29 UTC

[cordova-android] branch master updated: fix(GH-1391): Reword minimum build tools version to make it more clear what is actually required. (#1401)

This is an automated email from the ASF dual-hosted git repository.

normanbreau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git


The following commit(s) were added to refs/heads/master by this push:
     new 6d3ce21  fix(GH-1391): Reword minimum build tools version to make it more clear what is actually required. (#1401)
6d3ce21 is described below

commit 6d3ce211dd813cc39517a4173068168f7fe2b95e
Author: Norman Breau <no...@nbsolutions.ca>
AuthorDate: Tue Feb 22 10:14:22 2022 -0400

    fix(GH-1391): Reword minimum build tools version to make it more clear what is actually required. (#1401)
---
 framework/cordova.gradle | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/framework/cordova.gradle b/framework/cordova.gradle
index b8225bc..d6d0d69 100644
--- a/framework/cordova.gradle
+++ b/framework/cordova.gradle
@@ -64,16 +64,16 @@ String doFindLatestInstalledBuildTools(String minBuildToolsVersionString) {
 
     if (highestBuildToolsVersion == null) {
         throw new RuntimeException("""
-            No installed build tools found. Install the Android build tools
-            version ${minBuildToolsVersionString} or higher.
+            No installed build tools found. Please install the Android build tools
+            version ${minBuildToolsVersionString}.
         """.replaceAll(/\s+/, ' ').trim())
     }
 
     if (highestBuildToolsVersion.isLowerThan(minBuildToolsVersionString)) {
         throw new RuntimeException("""
             No usable Android build tools found. Highest ${minBuildToolsVersion.getMajor()}.x installed version is
-            ${highestBuildToolsVersion.getOriginalString()}; minimum version
-            required is ${minBuildToolsVersionString}.
+            ${highestBuildToolsVersion.getOriginalString()}; Recommended version
+            is ${minBuildToolsVersionString}.
         """.replaceAll(/\s+/, ' ').trim())
     }
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org