android-volley
android-volley copied to clipboard
volley and prevents the output error
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
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?