I'm building an application with Cordova. I added the android and ios platforms, I installed all the packages that are required by the requirements. When I build the app with cordova build, there is a problem with android, especially gradle version
Here the error
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
I also installed Gradle 7 to try to solve it, through brew I made a link of Gradle8 and the link of Gradle7, but launching
cordova build
I get the exact same error
What can be done to fix it?
A Java version between 8 and 19 is required to execute Gradle. Java 20 and later versions are not yet supported.