-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Duplicate class com.facebook.soloader.Api18TraceUtils found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0) #2377
Comments
You have to exclude the library for one of them, something like this:
Or for the conceal dependency. |
Conceal includes |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "bug" or "enhancement" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to reopen with up-to-date information. |
Thank you, I will try this method! |
Hi, I was facing the same issue, after spending one hour surfing on the web trying to get solved I did it, here my solution: Context: Migrating and old application (3 years, RN v0.60.1) with deprecated plugins (I used upgrade helper). app/build.gradle
I hope, that could you help you and save time, regards. |
Description
When I introduce fresco, I am compiling Androidstudio, and I am prompted with an exception, as follows:
Duplicate class com.facebook.soloader.Api18TraceUtils found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ApkSoSource found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ApkSoSource$ApkUnpacker found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.DirectorySoSource found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.DoNotOptimize found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.Elf32_Dyn found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.Elf32_Ehdr found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.Elf32_Phdr found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.Elf32_Shdr found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.Elf64_Dyn found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.Elf64_Ehdr found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.Elf64_Phdr found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.Elf64_Shdr found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ExoSoSource found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ExoSoSource$1 found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ExoSoSource$ExoUnpacker found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ExoSoSource$ExoUnpacker$FileBackedInputDsoIterator found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ExoSoSource$FileDso found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ExtractFromZipSoSource found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ExtractFromZipSoSource$1 found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ExtractFromZipSoSource$ZipDso found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ExtractFromZipSoSource$ZipUnpacker found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.ExtractFromZipSoSource$ZipUnpacker$ZipBackedInputDsoIterator found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.FileLocker found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.MergedSoMapping found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.MinElf found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.MinElf$ElfError found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.NativeLibrary found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.NoopSoSource found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.SoFileLoader found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.SoLoader found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.SoLoader$1 found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.SoLoader$Api14Utils found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.SoLoader$WrongAbiError found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.SoSource found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.SysUtil found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.SysUtil$LollipopSysdeps found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.SystemLoadLibraryWrapper found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.UnpackingSoSource found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.UnpackingSoSource$1 found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.UnpackingSoSource$Dso found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.UnpackingSoSource$DsoManifest found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.UnpackingSoSource$InputDso found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.UnpackingSoSource$InputDsoIterator found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Duplicate class com.facebook.soloader.UnpackingSoSource$Unpacker found in modules classes.jar (com.facebook.conceal:conceal:2.0.1) and classes.jar (com.facebook.soloader:soloader:0.6.0)
Reproduction
Also introduced in my project is facebook conceal 2.0.1aar
Solution
It feels like both conceal and fresco have introduced soloader at the same time causing conflicts?
Additional Information
The text was updated successfully, but these errors were encountered: