title: Error:Execution failed for task ':app:dexDebug' at runtime
body: <p>I am facing this runtime error.It says :</p>
  
  <p>Error:Execution failed for task ':app:dexDebug'.</p>
  
  <blockquote>
    <p>com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 2</p>
  </blockquote>
  
  <p>Here is my build.gradle script :</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  compileSdkVersion 23
  buildToolsVersion "23.0.1"
  useLibrary  'org.apache.http.legacy'
  
  defaultConfig {
      applicationId "com.stratbeans.barium.mobilebarium"
      minSdkVersion 16
      targetSdkVersion 23
      versionCode 1
      versionName "1.0"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  
  dependencies {
  compile fileTree(include: ['*.jar'], dir: 'libs')
  testCompile 'junit:junit:4.12'
  compile 'com.android.support:appcompat-v7:23.1.0'
  compile 'com.android.support:design:23.1.0'
  compile files('libs/universal-image-loader-1.9.3.jar')
  compile files('libs/listviewanimations_lib-core-slh_3.1.0.jar')
  compile project(':ListViewAnimations-core')
  compile project(':StickyListHeaders')
  compile project(':ListViewAnimations-core-slh')
  </code></pre>
  
  <p>Please help me out.Thanks!</p>