breautek commented on issue #1409: URL: https://github.com/apache/cordova-android/issues/1409#issuecomment-1082001050
Yes, the build tools error is misleading. The error message has been corrected in the master branch but a patch release haven't been made. In short, you need *specifically* build tools 30.0.3, not build tools 31 or later. By default, cordova will choose the latest build tools version of a given major, based on its tested SDK version. In the case of cordova-android@10, that is API 30, so it expects build tools 30.0.3. By default it won't pick anything in later major versions because they likely introduce breaking changes anyway that won't be compatible. If you want to use a different build tools version, Cordova will respect the `android-buildToolsVersion` preference, but it is known that Cordova is currently incompatible with Build tools 31. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
