duplicate entry: com/android/volley/AuthFailureError.class while compiling project in android studio : <p>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</p>

<p>Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.</p>

<blockquote>
  <p>java.util.zip.ZipException: duplicate entry: com/android/volley/AuthFailureError.class"</p>
</blockquote>

<p>i have also added following code to exclude module, but still same error</p>

<p><code>configurations{
    all*.exclude module: 'com.android.volley'
}</code></p>

<p>please help</p>
