title: Multiple dex files define Landroid/support/design/widget/CoordinatorLayout$1;
body: <p>Whenever I want to run my project i get the following error</p>
  
  <blockquote>
    <p>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
    Landroid/support/design/widget/CoordinatorLayout$1;</p>
  </blockquote>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 27
      buildToolsVersion "27.0.2"
      defaultConfig {
          applicationId "com.example.invinciblesourav.flacom"
          minSdkVersion 18
          targetSdkVersion 27
          versionCode 1
          versionName "1.0"    
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
      sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
  }
  
  dependencies {
      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:27.+')
      compile 'com.android.support.constraint:constraint-layout:1.0.2'
      compile 'com.google.firebase:firebase-auth:11.0.4'
      compile 'de.hdodenhof:circleimageview:2.1.0'
      compile 'com.theartofdev.edmodo:android-image-cropper:2.3.+'
      compile 'com.google.firebase:firebase-core:11.0.4'
      compile 'com.google.firebase:firebase-database:11.0.2'
      compile 'com.google.firebase:firebase-storage:11.0.4'
      compile 'com.android.support:design:25.3.1'
      compile 'com.squareup.picasso:picasso:2.4.0'
      testCompile 'junit:junit:4.12'
  }
  
  
  apply pluenter code heregin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>Please help me.I am stuck in this problem for a few days.</p>