You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build my Android application, I have the following error code.
* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> 1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class com.google.firebase.components.AbstractComponentContainer found in modules jetified-firebase-common-17.0.0-runtime.jar (com.google.firebase:firebase-common:17.0.0) and jetified-firebase-components-16.0.0-runtime.jar (com.google.firebase:firebase-components:16.0.0)
Hello, I'm trying to install this plugin https://github.com/havesource/cordova-plugin-push.
When I build my Android application, I have the following error code.
It's seems related to the Google Service jar file downloaded to use MLKit. This plugin is using by default 16.0.0 version and the push plugin uses 17.0.0 by default. They explain that if another plugin download a jar, that plugin must be changed to use with it https://github.com/havesource/cordova-plugin-push/blob/master/docs/INSTALLATION.md#more-than-one-library-with-package-name-comgoogleandroidgms.
The text was updated successfully, but these errors were encountered: