谁能帮助我克服依赖关系中的错误?

时间:2018-12-31 05:39:57

标签: android android-studio

All com.android.support libraries must use the exact same version 
specification (mixing versions can lead to runtime crashes). 
Found versions 28.0.0, 26.1.0. 
Examples include com.android.support:animated-vector-drawable:28.0.0 
and com.android.support:mediarouter-v7:26.1.0 less... (Ctrl+F1) 

apply plugin: 'com.android.application'


android {
  compileSdkVersion 28
  defaultConfig {
    applicationId "com.futureapppspk.quran_e_pak"
    minSdkVersion 19
    targetSdkVersion 28
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  }
  buildTypes {
    release {
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.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'
  implementation 'com.google.android.gms:play-services:12.0.1'
  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'
}

0 个答案:

没有答案