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
It is expected for Cordova use the specified build tools version via cdvBuildToolsVersion gradle parameter if the parameter is defined.
What does actually happen?
Cordova does use it, but now passes it through findLatestInstalledBuildTools call, effectively turning the parameter into a "minimum build tools version" parameter instead of a "build tools version" parameter.
Information
This behaviour changed from cordova-android@9.1 where if cdvBuildToolsVersion was defined, it will simply use it. See 9.1
Further investigation notes are written: #1288 (comment) where this issue was first identified.
Command or Code
Have build tools version 30 & 31 installed. Building Build tools version 31 as described here
Then run: cordova build android --release -- --gradleArg=-PcdvBuildToolsVersion=30.0.3
It is expected that cordova will use build tools version 30.0.3 instead of build tools 31.
Environment, Platform, Device
Android
Version information
cordova-android@10
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
The text was updated successfully, but these errors were encountered:
Bug Report
Problem
What is expected to happen?
It is expected for Cordova use the specified build tools version via
cdvBuildToolsVersion
gradle parameter if the parameter is defined.What does actually happen?
Cordova does use it, but now passes it through
findLatestInstalledBuildTools
call, effectively turning the parameter into a "minimum build tools version" parameter instead of a "build tools version" parameter.Information
This behaviour changed from cordova-android@9.1 where if
cdvBuildToolsVersion
was defined, it will simply use it. See 9.1Further investigation notes are written: #1288 (comment) where this issue was first identified.
Command or Code
Have build tools version 30 & 31 installed. Building Build tools version 31 as described here
Then run:
cordova build android --release -- --gradleArg=-PcdvBuildToolsVersion=30.0.3
It is expected that cordova will use build tools version 30.0.3 instead of build tools 31.
Environment, Platform, Device
Android
Version information
cordova-android@10
Checklist
The text was updated successfully, but these errors were encountered: