apache / cordova-android

Apache Cordova Android
https://cordova.apache.org/
Apache License 2.0
3.59k stars 1.52k forks source link

cordova-android 9 or below not working but latest version working #1618

Closed hansarajgyaneswar closed 11 months ago

hansarajgyaneswar commented 11 months ago

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

2: Task failed with an exception.

BUILD FAILED in 1s

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

"name": "com.khusilu.recharge", "displayName": "KhuSiluRecharge", "version": "1.0.0", "description": "A sample Apache Cordova application that responds to the deviceready event.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "ecosystem:cordova" ], "author": "Apache Cordova Team", "license": "Apache-2.0", "devDependencies": { "cordova-android": "^9.1.0" }, "cordova": { "platforms": [ "android" ] }

breautek commented 11 months ago

cordova-android 9 is out of support.

cordova-android@12 is required to target API 33 which will be required soon by Google Play store. It's recommended to use cordova-android@12, which as you've already said, works with modern build tools.

hansarajgyaneswar commented 11 months ago

cordova-android@12 app crashing and not install issu

breautek commented 11 months ago

cordova-android@12 app crashing and not install issu

Then I'd advise creating a new issue with that context and we may be able to help you to get back on track. For support style questions however, it would be better to post on our discussions