duplicate entry: com/android/volley/AuthFailureError.class while compiling project in android studio

前端 未结 9 1966
长情又很酷
长情又很酷 2020-12-02 00:01

I am using external libraries payu money sdk and linkedin-sdk, both uses volley libraries, which while compiling project gives duplicate entry of AuthFailureError.class

9条回答
  •  醉话见心
    2020-12-02 00:14

    I stumbled upon this same error, and after reading this, I was able to solve it.

    Try adding this line inside your app dir build.gradle file -

    android{
    configurations {
        all*.exclude group: 'com.android.volley'
    }}
    

    Hope this helps.

提交回复
热议问题