java - Error: Execution failed for task ':app:dexDebug' -


"com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\program files\java\jdk1.8.0_25\bin\java.exe'' finished non-zero exit value 2"

build.gradle(using android studio)

apply plugin: 'com.android.application'  android {     compilesdkversion 23     buildtoolsversion "23.0.1"     uselibrary  'org.apache.http.legacy'      defaultconfig {         applicationid "app.com.notifdemo"         minsdkversion 14         targetsdkversion 23         versioncode 1         versionname "1.0"     }     buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'             }         }     }      dependencies {         compile filetree(dir: 'libs', include: ['*.jar'])         compile 'com.android.support:appcompat-v7:23.0.1'         compile 'com.loopj.android:android-async-http:1.4.8'         compile 'com.google.android.gms:play-services:7.8.0'         compile "org.apache.httpcomponents:httpcore:4.3.2"     } 


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -