Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

volley and prevents the output error #168

Open
amirhoseinmaleki opened this issue Dec 17, 2016 · 1 comment
Open

volley and prevents the output error #168

amirhoseinmaleki opened this issue Dec 17, 2016 · 1 comment

Comments

@amirhoseinmaleki
Copy link

When you want to output projects I encounter the below error:

`Error:Execution failed for task ':app:transformClassesWithDexForDebug'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/android/volley/VolleyError;`

I ask for help

@ejChathuranga
Copy link

ejChathuranga commented Jun 26, 2017

The Same error appears on me too. My build.gradle dependencies are
compile 'com.parse:parse-android:1.11.0' compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support.constraint:constraint-layout:1.0.2' testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:25.3.1' androidTestCompile 'com.mcxiaoke.volley:library:1.0.18' compile project(":volley") compile 'com.mcxiaoke.volley:library:1.0.18'

When we remove compile 'com.mcxiaoke.volley:library:1.0.18 it compiles and runs without any error. But we can't get the output as we want. What would be the issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants