title: Error:Cannot fit requested classes in a single dex file.Try supplying a main-dex list. # methods: 72477 > 65536
body: <p>I want to add fused location services but it shows me some error.
  Help me.    </p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 26
      buildToolsVersion "27.0.1"
      defaultConfig {
          applicationId "com.example.adil.bloodbankapplication"
          minSdkVersion 15
          targetSdkVersion 26
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile 'com.android.support:appcompat-v7:26.1.0'
      compile 'com.android.support.constraint:constraint-layout:1.0.2'
      compile 'com.google.firebase:firebase-auth:11.8.0'
      compile 'com.google.firebase:firebase-database:11.8.0'
      compile 'com.android.support:support-v4:26.1.0'
      compile 'junit:junit:4.12'
      compile 'com.android.support:design:26.1.0'
      compile 'com.github.joielechong:countrycodepicker:2.1.5'
      compile 'com.jaredrummler:material-spinner:1.2.4'
      compile 'hanks.xyz:htextview-library:0.1.5'
      compile 'com.firebaseui:firebase-ui-database:1.2.0'
      compile 'com.google.android.gms:play-services:11.8.0'
  }
  
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>