breautek commented on issue #391: URL: https://github.com/apache/cordova/issues/391#issuecomment-1517018912
> No usable Android build tools found. Highest 30.x installed version is 27.0.1; Recommended version is 30.0.3. Means the highest version of build tools found is 27.0.1, and it's expecting 30.0.3 This also means you're using cordova-android@10, not cordova-android@11... cordova-android@11 expects 32.0.0 `cordova platform add android` will install version 10 by default, so you have to explicitly specify the version `cordova platform add android@11`, which would be recommended since it has support for API 32. To upgrade from 10 to 11 you have to first remove the platform like so: ``` cordova platform remove android cordova platform add android@11 ``` Final note, we are changing the CLI so it will always install the latest by default, but the current CLI pins versions based on the latest release at the time the CLI was released. When you install `cordova-android@11`, you're sitl going to get an error like ``` > No usable Android build tools found. Highest 30.x installed version is 27.0.1; Recommended version is 30.0.3. ``` Except it will say recommended version 32.0.0. Use the Android SDK Manager to install Build Tools 32.0.0. You'll have to check the `Show Package Details` checkbox to see the list of versions, otherwise the GUI will only show the latest version. You may have to accept their license if you haven't already done so. -- 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]
