-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failed with an exception in Cordova 12 #3
Comments
Hi dariov , i was tried to install this plugin to a clear cordova project(cordova version 12 , cordova-android 12), it seems like work fine. Can you post the specific screenshots of the errors and the plugin list? |
Hi @FWiner, thanks for answering, here are the steps to reproduce the problem:
Add the background plugin:
Try to build the project for Android:
If I remove the plugin:
And then try to build, it build correctly:
Thanks for your time and effort, have a nice day/night... |
Hi @dariov1988 , i double checked my local project and this issue was found in cordova version > 10, i think this link can help you, please try to build after modifying in Android Studio, if the error disappears, I will update the question in the next days. |
I had this error too and changing:
to
helped me. |
When I add the plugin to my project with:
cordova plugin add https://github.com/FWiner/cordova-plugin-android-background-mode
and try to build it, I get the following error:Cordova version: 12
Please let me know if more information is required. Thanks!
The text was updated successfully, but these errors were encountered: