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/03/08 13:34:13 UTC

[GitHub] [cordova-android] breautek edited a comment on issue #1402: `findAll` build tools version return empty

breautek edited a comment on issue #1402:
URL: https://github.com/apache/cordova-android/issues/1402#issuecomment-1061782548


   The error message is misleading, and has since been corrected in master (but that patch isn't released yet).
   
   The intent is to find the latest patch version within a specific **major** version. Cordova Android 10 is tested and built against build tools 30, so the tools by default looks for versions specifically in `30.x` range and will filter against `>= 31.x`.
   
   The rationale behind this is to prevent Cordova from attempting to use future versions of the build tools, which as major version changes generally suggest, are breaking.
   
   This behaviour can be overwritten using the `android-buildToolsVersion` preference but Cordova is known to be incompatible with build tools version 31.x, and presumably 32.x.
   
   The recommendation is to install build tools version `30.0.3` (the minimum required by cordova android 10) 
   
   Closing as not-a-bug.


-- 
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