Skip to content
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

Dependency conflicts with obfuscated classes #107

Closed
GrahamBorland opened this issue Feb 26, 2022 · 2 comments
Closed

Dependency conflicts with obfuscated classes #107

GrahamBorland opened this issue Feb 26, 2022 · 2 comments

Comments

@GrahamBorland
Copy link

GrahamBorland commented Feb 26, 2022

I'm getting build failures when I update a separate dependency (Helpscout Beacon SDK) to its latest version.

Both mParticle and Beacon seem to be obfuscating class names which causes a conflict. Potential workarounds for this seem to be pretty messy. Is there anything mParticle can do to eliminate this error? Could you maybe not obfuscate? Thanks!

Execution failed for task ':app:checkDevelopDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class a.a found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class a.b found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class b.a found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class b.b found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class b.b$a found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class b.c found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class b.c$a found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class c.a found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class c.b found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class d.a found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class d.a$a found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class d.b found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class d.c found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class d.c$a found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class d.d found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
     Duplicate class d.e found in modules android-core-5.35.4-runtime (com.mparticle:android-core:5.35.4) and beacon-4.0.1-runtime (com.helpscout:beacon:4.0.1)
@willpassidomo
Copy link
Contributor

Hey @GrahamBorland, thanks for brining this to our attention! Honestly, this slipped under our radar, but we have a PR up to fix it which should be included in this weeks release :)

@GrahamBorland
Copy link
Author

Fabulous, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants