我知道这个问题已经被问了很多遍了,但是无法为我解决。Main Project Gradle
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
App Module Gradle File
android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
defaultConfig {
applicationId "com.something"
minSdkVersion 15
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'
}
}
}
所以问题是从哪里获取构建工具版本
24.0.3
的,因为我将其设置为25.0.1
只是感到困惑!
最佳答案
关于android - SDK平台工具版本(24.0.3)太旧,无法检查使用API 25编译的API [警告],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41114927/