breautek commented on issue #1619: URL: https://github.com/apache/cordova-android/issues/1619#issuecomment-1567335325
That's not very descriptive. Cordova has several packages with their own version numbers. For example there is `cordova`, the command line package, and then there are the platforms (e.g. `cordova-android`). To use `cordova-android@12`, it would be recommended to use the latest CLI version, which is also `12.0.0`. ``` npm install -g cordova@12 ``` The `cordova -v` command should then print: ``` cordova -v 12.0.0 ([email protected]) ``` Then to upgrade an existing project, you'll need to remove the platform and add the new version: ``` cordova platform remove android cordova platform add android@12 ``` If you're upgrading from cordova-android@9 then you should the following plugins if they are installed: - cordova-plugin-splashscreen - cordova-plugin-whitelist If you're still having problems, then I'd try removing the `plugins` folder to forcefully let cordova reinstall everything from scratch: 1. Delete the `<cordova-project>/plugins` directory 2. Delete the `<cordova-project>/platforms` directory 3. cordova platform add android@12 -- 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]
