Program type already present: org.apache.http.auth.AuthSchemeFactory

后端 未结 1 488
抹茶落季
抹茶落季 2021-01-18 14:56

I used Picasso as dependency for both the my App project and the chat library

Here is the error I\'m facing while compiling the code:

Program

相关标签:
1条回答
  • 2021-01-18 15:46

    I had have the same issue. As the first you can see that a new dexer called D8 is running. It seems to be still experimental so you can switch it off temporally in gradle.properties file by:

    android.enableD8=false
    

    See more details about D8 in a blog announcement

    Then you can see more detailed error message which led me to following solution:

    implementation("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.1") {
        exclude group: 'org.apache.oltu.oauth2', module: org.apache.oltu.oauth2.common'
    }
    
    0 讨论(0)
提交回复
热议问题