-
Notifications
You must be signed in to change notification settings - Fork 578
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
firebase-dynamic-module-support's monolithic play-core lib dependency causes duplicate classes #3860
Comments
I found a few problems with this issue:
|
Thanks for reporting this, @kenshin171. I experienced the same behavior. I'll notify our engineer and see what we can do here. |
While this is being worked on by our engineers. As an alternative solution, could you try the following and see if this works?
|
I think this is quite risky? I do not know what other api does |
Since the core library has been partitioned into 4 separate libraries, in theory, if we exclude the core library and included the 4 separate libraries then it should work. Since However, you're correct, this might be risky since we can't exactly test this. Let's wait for the fix for now. Thanks! |
[REQUIRED] Step 2: Describe your environment
Android Studio Dolphin | 2021.3.1 Beta 4
Build #AI-213.7172.25.2113.8718688, built on June 14, 2022
Runtime version: 11.0.13+0-b1751.21-8125866 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.4
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.balloon.shadow.size=0
Non-Bundled Plugins:
com.dengzii.plugin.adb (2022.1.22)
com.chrisrm.idea.MaterialThemeUI (6.16.2)
[REQUIRED] Step 3: Describe the problem
firebase-dynamic-module-support
has a dependency oncom.google.android.play:core
which causes Duplicate class error durig compilation when using the new non-monolithiccom.google.android.play:app-update
andcom.google.android.play:review
libraries.part of the error output
Steps to reproduce:
import both
com.google.firebase:firebase-dynamic-module-support:16.0.0-beta01
andcom.google.android.play:app-update
and/orcom.google.android.play:review
Relevant Code:
The text was updated successfully, but these errors were encountered: