sdk platform-tools版本(24.0.4rc1)太旧了,无法检查用25编译的API

时间:2017-04-11 10:17:42

标签: android gradle android-studio-2.3

我收到以下警告:" sdk platform-tools版本(24.0.4rc1)太旧,无法检查使用25"编译的API。但我更新了我的SDK和工具。可能是什么原因?我阅读并尝试了类似问题的答案,但没有一个能够奏效。

我的傻瓜

 apply plugin: 'com.android.application'

  android {
     compileSdkVersion 25
     buildToolsVersion "25.0.2"
     defaultConfig {
         applicationId "com.***"
         minSdkVersion 19
         targetSdkVersion 25
         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(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:25.2.0'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.android.support:design:25.2.0'
    testCompile 'junit:junit:4.12'
}

Screenshot

SDK

0 个答案:

没有答案