【发布时间】:2020-06-21 20:24:11
【问题描述】:
当我使用 android studio 构建我的 react 本机项目时,我目前遇到了这个错误。如何解决此问题并删除重复项。
Duplicate class com.facebook.imagepipeline.cache.CountingMemoryCacheInspector found in modules imagepipeline-base-2.2.0-runtime.jar (com.facebook.fresco:imagepipeline-base:2.2.0) and stetho-2.0.0-runtime.jar (com.facebook.fresco:stetho:2.0.0)
Duplicate class com.facebook.imagepipeline.cache.CountingMemoryCacheInspector$DumpInfo found in modules imagepipeline-base-2.2.0-runtime.jar (com.facebook.fresco:imagepipeline-base:2.2.0) and stetho-2.0.0-runtime.jar (com.facebook.fresco:stetho:2.0.0)
Duplicate class com.facebook.imagepipeline.cache.CountingMemoryCacheInspector$DumpInfoEntry found in modules imagepipeline-base-2.2.0-runtime.jar (com.facebook.fresco:imagepipeline-base:2.2.0) and stetho-2.0.0-runtime.jar (com.facebook.fresco:stetho:2.0.0)
【问题讨论】:
-
我尝试了这个建议,但他们似乎对脚蹼有问题。我的问题是壁画有问题。我不确定如何以正确的格式删除包
-
你有机会降级到 RN 0.61.5 吗?
-
我将 RN 降级到 0.61.5 但我仍然有同样的错误
-
发现这是 Shoutem UI 库的错误。但不知道如何解决。在此处发布后续问题stackoverflow.com/questions/62526519/…
标签: android react-native android-studio react-native-android