添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
爽快的冲锋衣  ·  使用 Oracle JDeveloper ...·  3 月前    · 
热心肠的香菇  ·  PHP数据结构(五) ...·  1 年前    · 

在jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 和 jetified-httpcore-4.3.2模块中发现重复的类。

0 人关注

在module jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 和 jetified-httpcore-4.3.2 (org.apache.httpcomponents:httpcore:4.3.2)中发现重复的类org.apache.http.Consts。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类org.apache.http.ContentTooLongException。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类org.apache.http.HttpConnectionFactory。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类org.apache.http.HttpHeaders。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类org.apache.http.MessageConstraintException。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类 org.apache.http.TruncatedChunkException 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类org.apache.http.annotation.GuardedBy 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类org.apache.http.annotation.Immutable。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类 org.apache.http.annotation.NotThreadSafe 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类org.apache.http.注释.ThreadSafe。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.auth.AuthOption。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.auth.AuthProtocolState。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.auth.AuthSchemeProvider 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.auth.ChallengeState。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.auth.ContextAwareAuthScheme 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.AuthCache 在module jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 中发现重复的类org.apache.http.client.AuthenticationStrategy。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.BackoffManager。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.ConnectionBackoffStrategy。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的org.apache.http.client.RedirectStrategy类。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.ServiceUnavailableRetryStrategy 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.config.AuthSchemes 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.config.CookieSpecs 在module jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 中发现重复的类org.apache.http.client.config.RequestConfig。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.config.RequestConfig$Builder。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.entity.DecompressingEntity。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的class org.apache.http.client.entity.DeflateDecompressingEntity。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.entity.DeflateInputStream。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.entity.DeflateInputStream$DeflateStream 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.entity.EntityBuilder。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.entity.GzipCompressingEntity 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的class org.apache.http.client.entity.GzipDecompressingEntity。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.entity.LazyDecompressingInputStream 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.methods.AbstractExecutionAwareRequest 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.methods.AbstractExecutionAwareRequest$1 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.methods.AbstractExecutionAwareRequest$2 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.methods.CloseableHttpResponse。 在module jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 中发现重复的class org.apache.http.client.methods.Configurable。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的class org.apache.http.client.methods.HttpExecutionAware。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的org.apache.http.client.methods.HttpPatch类。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的org.apache.http.client.methods.HttpRequestWrapper类。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.methods.HttpRequestWrapper$1 在 jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.methods.HttpRequestWrapper$HttpEntityEnclosingRequestWrapper 在module jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 中发现重复的类org.apache.http.client.methods.RequestBuilder。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.methods.RequestBuilder$InternalEntityEclosingRequest 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.methods.RequestBuilder$InternalRequest。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.params.HttpClientParamConfig 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.protocol.HttpClientContext。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.protocol.RequestAcceptEncoding 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.protocol.RequestAuthCache 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.protocol.RequestClientConnControl 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.protocol.RequestExpectContinue 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.protocol.ResponseContentEncoding。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.utils.DateUtils 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.utils.DateUtils$DateFormatHolder 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.utils.DateUtils$DateFormatHolder$1 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.utils.HttpClientUtils 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.utils.Idn。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.utils.JdkIdn 在module jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 中发现重复的类org.apache.http.client.utils.Punycode。 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.client.utils.Rfc3492Idn 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类org.apache.http.client.utils.URIBuilder。 在module jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 和 jetified-httpcore-4.3.2 (org.apache.httpcomponents:httpcore:4.3.2) 中发现重复的类org.apache.http.concurrent.BasicFuture。 在module jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)中发现重复的类org.apache.http.concurrent.Cancellable。 在module jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)中发现重复的类org.apache.http.concurrent.FutureCallback。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类org.apache.http.config.ConnectionConfig。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的org.apache.http.config.ConnectionConfig$Builder类。 在jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 和 jetified-httpcore-4.3.2 (org.apache.httpcomponents:httpcore:4.3.2) 模块中发现重复的类 org.apache.http.config.Lookup。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的org.apache.http.config.MessageConstraints类。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类org.apache.http.config.MessageConstraints$Builder。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的类org.apache.http.config.Registry。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的org.apache.http.config.RegistryBuilder类。 在jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 和 jetified-httpcore-4.3.2 (org.apache.httpcomponents:httpcore:4.3.2) 模块中发现重复的 org.apache.http.config.SocketConfig 类。 在jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)和jetified-httpcore-4.3.2(org.apache.httpcomponents:httpcore:4.3.2)模块中发现重复的org.apache.http.config.SocketConfig$Builder类。 在jetified-httpclient-4.3(org.apache.httpcomponents:httpclient:4.3.3)和jetified-httpclient-android-4.3(org.apache.httpcomponents:httpclient-android:4.3.3)模块中发现重复的类org.apache.http.conn.ConnectionRequest 在jetified-httpclient-4.3 (org.apache.httpcomponents:httpclient:4.3.3) 和 jetified-httpclient-android-4.3 (org.apache.httpcomponents:httpclient-android:4.3.3) 模块中发现重复的类 org.apache.http.conn.DnsResolver

2 个评论
嘿,@Sahil Bansal 你是否找到了任何解决方案...?
我发现了一个避免这种情况的方法,即从gradle中删除混淆的内容。
android
android-studio
build.gradle
android-sdk-2.3
Sahil Bansal
Sahil Bansal
发布于 2021-03-10
1 个回答
M.Paunov
M.Paunov
发布于 2021-03-11
已采纳
0 人赞同

你对Apache的httpclient-android和httpcore有冲突的依赖关系。 这可能发生在几种情况下,有直接的或横向的依赖关系,或者两者都有。 根据这一点,正确的解决方法是不同的。

  • 你有一个包含多个模块的项目,你包含了不止一次的http库。 解决方案。在这种情况下,只在库模块中使用 "api org.apache... "而不是 "implementation",这样你就可以让包含该库模块的其他模块看到它。

  • 你使用gradle依赖项直接包含了httpclient/core,但你的一个其他依赖项已经包含了它。 解决方案。从gradle中删除你的直接依赖项。

  • (很可能)你正在使用两个不同的库,它们都依赖于冲突的库。 在这里,你最好的尝试是将它们排除在外。在你的应用程序级别build.gradle中添加。

    configurations {
        all*.exclude group: 'org.apache.httpcomponents', module: 'httpclient'
        all*.exclude group: 'org.apache.httpcomponents', module: 'httpcore'
    
  •