We are happy to announce that we have just released a bugfix update for
Cordova Android (10.0.1)! This is one of Cordova's supported platforms for building Android mobile applications.
cordova platform remove android cordova platform add firstname.lastname@example.org
In this patch release, we had fixed three reported issues that caused build issues.
GradlePluginGoogleServicesEnabledInvalid Version Error
Projects that set the
GradlePluginGoogleServicesEnabledconfig flag to
truesaw an invalid version error. The error was caused by the build process reading a bad variable reference.
Fixed Incorrect Fetching of Latest Build Tools
Users who have installed build tools 31.x noticed Cordova attempting to use the newer build tools by default.
By default, Cordova-Android 10.x tries to fetch the latest installed build tools, but it should be only selecting within the supported major release range.
For example, Cordova-Android 10.x supports SDK build tools 30.0.3. If a newer version of build tools within 30.x was released and installed, Cordova should fetch and use it. If the environment has 31.x or higher, those should be ignored.
Newer major release versions are not tested and may not be compatible with Cordova.
Only within the supported major range are now being discovered and used.
Fixed Building with Pinned Build Tools
This issue was also noticed by users who have installed the latest Android build tools SDK 31.
Since SDK 31 contains breaking that makes it incompatible with Cordova, users tried to pin the build tools version to 30.0.3.
Because of the above issue Fixed Incorrect Fetching of Latest Build Tools, the provided pinned version was being ignored.
Pinned versions now take higher priority over the fetched the latest version functionality.
Please report any issues you find at issues.cordova.io!
- GH-1295 fix:
- GH-1293 fix:
gradlebuild tools config
- GH-1294 fix: automatic latest build tools finding
- GH-1287 fix: Google Services Gradle Plugin version check failure