title: Error converting bytecode to dex: DexException: Library dex files are not supported in multi-dex mode
body: <p>i tried to run my app in avd but when i select to run the gradle turn an exception :</p>
  
  <pre><code>Error:Error converting bytecode to dex:
  Cause: com.android.dex.DexException: Library dex files are not supported in multi-dex mode
      :app:transformClassesWithDexForDebug FAILED
      Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
      &gt; com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_66\bin\java.exe'' finished with non-zero exit value 2
  </code></pre>
  
  <p>my app is synced successfully when i sync it but on running time!
  this is my gradle:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
      defaultConfig {
          applicationId "ir.esfandune.material"
          minSdkVersion 9
          targetSdkVersion 23
          versionCode 1
          versionName "1.0"
          multiDexEnabled true
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
      dexOptions {
          incremental true
          preDexLibraries = false
      }
      compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_7
          targetCompatibility JavaVersion.VERSION_1_7
      }
  }
  
  repositories {
      jcenter()
      maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
  
  }
  
  dependencies {
      compile 'com.android.support:multidex:1.0.1'
      compile 'com.android.support:design:23.0.0'
      compile 'com.android.support:appcompat-v7:23.0.0'
      compile 'com.android.support:cardview-v7:23.0.0'
      compile 'com.android.support:recyclerview-v7:23.0.0'
      compile 'com.android.support:support-v4:23.0.0'
      compile 'com.github.rey5137:material:1.2.1.6-SNAPSHOT'
      compile project(':material-dialogs')
      compile files('lib/glide-3.6.1-       3f8a822297969bbac00507aeca83271794f037ca.jar')
      //compile files('lib/de.hdodenhof/circleimageview/1.3.0/jars/classes.jar')
  }
  </code></pre>
  
  <p>and this is my other module gradle file:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
      defaultConfig {
          applicationId "ir.esfandune.material"
          minSdkVersion 9
          targetSdkVersion 23
          versionCode 1
          versionName "1.0"
          multiDexEnabled true
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
      dexOptions {
          incremental true
          preDexLibraries = false
      }
      compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_7
          targetCompatibility JavaVersion.VERSION_1_7
      }
  }
  
  repositories {
      jcenter()
      maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
  
  }
  
  dependencies {
      compile 'com.android.support:multidex:1.0.1'
      compile 'com.android.support:design:23.0.0'
      compile 'com.android.support:appcompat-v7:23.0.0'
      compile 'com.android.support:cardview-v7:23.0.0'
      compile 'com.android.support:recyclerview-v7:23.0.0'
      compile 'com.android.support:support-v4:23.0.0'
      compile 'com.github.rey5137:material:1.2.1.6-SNAPSHOT'
      compile project(':material-dialogs')
      compile files('lib/glide-3.6.1-3f8a822297969bbac00507aeca83271794f037ca.jar')
  
  }
  </code></pre>
  
  <p>i searched for fix this error on stackoverflow and google but didnt find any useful answer!
  is that any one that can help me plz?</p>