Hi everyone,
I'm having trouble generating the APK for my mobile app when using a specific Cordova plugin. I've tried building it with different MABS versions (10, 11, and 11.1), but I always encounter the same error during the build process.
I've already checked my configurations and tried different approaches, but nothing seems to work.
Has anyone experienced a similar issue or knows what might be causing this?
Any help would be greatly appreciated!
Thanks in advance!
Hi @João Vilelas , As indicated in the log file , there is a compatibility issue between one of cordova-plugin-ble-central dependencies (cordova-plugin-compat) and your Cordova version .
cordova-plugin-compat is deprecated :-----------------------------------------------------------------------------------------------------------[2025-05-14T15:57:01.000Z] [ERROR] [Build] Reason: Couldn't install the Cordova plugin cordova-plugin-ble-central because the plugin dependency cordova-plugin-compat doesn't support this Cordova version.------------------------------------------------------------------------------------------------------------
[2025-05-14T15:57:01.001Z] [ERROR] [Build] Installing "cordova-plugin-compat" for android
[2025-05-14T15:57:01.001Z] [ERROR] [Build] Plugin doesn't support this project's cordova-android version. cordova-android: 12.0.0+1.3.1, failed version requirement:
[2025-05-14T15:57:01.001Z] [ERROR] [Build] <6.3.0
Thanks for the reply :)
So I need to update the Cordova version? Yes, how do I do it?
You do not need to update your Cordova version. In fact, the issue is the opposite: cordova-plugin-compat is deprecated and should not be used with newer versions of Cordova Android (version 6.3.0+ and beyond).-> Use an alternative plugin from the Forge .
Thank you very much for your help, the problem is that there is no other plugin for this purpose.