title: Compile failed at android studio
body: <p>I am using android studio. When I compile it will terminate the process. I have error at build.gradle . Anyone can help me solve the problem? Thank you very much</p>
  
  <p>Here is my build.gradle</p>
  
  <pre><code>    apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 28
      defaultConfig {
          applicationId "com.example.myapplication"
          minSdkVersion 15
          targetSdkVersion 28
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  
      implementation 'com.edwardvanraak:MaterialBarcodeScanner:0.0.6-ALPHA'
      implementation 'cz.msebera.android:httpclient:4.3.6'
      implementation 'com.loopj.android:android-async-http:1.4.9'
      implementation 'com.koushikdutta.ion:ion:2.+'
      implementation 'com.journeyapps:zxing-android-embedded:3.4.0'
      implementation 'com.google.android.gms:play-services-location:7.+'
      implementation 'org.jsoup:jsoup:1.9.2'
      implementation 'com.github.f0ris.sweetalert:library:1.5.1'
      implementation 'com.loopj.android:android-async-http:1.4.9'
      implementation 'com.wang.avi:library:2.1.3'
      implementation 'com.google.android.gms:play-services:9.8.0'
  }
  </code></pre>
  
  <p>Here is the error:</p>
  
  <pre><code> All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 28.0.0, 24.0.0, 23.0.1. Examples include com.android.support:animated-vector-drawable:28.0.0 and com.android.support:mediarouter-v7:24.0.0 less... (Ctrl+F1) 
      Inspection info:There are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion).  
  Issue id: GradleCompatible
  </code></pre>