breautek commented on issue #1477: URL: https://github.com/apache/cordova-android/issues/1477#issuecomment-1219713835
Here are some things you can try... #### Make sure you're not overriding the gradle version. cordova-android@11 by default uses Gradle 7.4.2, and usually there is no need to use a gradle version other than what cordova configures by default. Common overwrites may come from: - `distributionUrl` setting inside `~/.gradle/gradle.properties` - `GradleVersion` preference inside `config.xml` #### Cordova minimum supported NodeJS is 14.x > NodeJS : v13.14.0 (/usr/local/bin/node) Might not be related to this issue, but Cordova doesn't support any odd releases (13.x, 15.x, 17.x, etc) as these are bleeding edge test releases that are short lived. They may or may not work. It's always recommended to use the LTS releases which are always the even numbers (14.x, 16.x, etc). Currently the minimum supported Node version is 14.x, but it's recommended to use NodeJS 16. #### In-place upgrades aren't supported. So when migrating from an older version of cordova-android to a newer version, you usually have to delete/wipe/run `cordova platform remove android` and then re-add the android platform using `cordova platform add android@11`. Simply updating the cordova-android NPM dependency will not work. Let me know if any of these things helps. -- 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]
