You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/02/04 19:02:24 UTC

[GitHub] [cordova-android] jmarshall-com commented on issue #1391: Fix error message when installed build tools version greater than MIN_BUILD_TOOLS_VERSION + 1

jmarshall-com commented on issue #1391:
URL: https://github.com/apache/cordova-android/issues/1391#issuecomment-1030267344


   I had this same problem and finally found the problem in `cordova.gradle`, line 57:
   
   `def maxVersion = new Version((minBuildToolsVersion.getMajor() + 1) + ".0.0")`
   
   ... and then line 62:
   
   `.findAll { it.isHigherThan('0.0.0') && it.isLowerThan(maxVersion) }`
   
   Is there a good reason for setting a `maxVersion` to be no more than 1 major version higher than `minversion`?  At a minimum, the error message should change to reflect what the highest allowed version is, not just say "version 30.0.3 or higher."  I spent a lot of time tracking this down.
   
   I'm using Cordova 11 with build tools 32, on a brand new Mac mini.
   
   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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