I have an Android Project in Android Studio 0.5.9 and Gradle is throwing this error:
Error:The SDK Build Tools revision (17.0.0) is too low. Minimum required
change in build.gradle "project: layout xml"
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
}
} allprojects {
repositories {
jcenter()
}
}
Open Android SDK Manager and make sure you have Build Tools 19.1 downloaded. Double-check.
Then find build/app.gradle and change buildToolsVersion number to '19.1':
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion '19.1'
defaultConfig {
minSdkVersion 10
targetSdkVersion 19
}
I had the same problem. This is what me solved this problem.
Step 1: Go To SDK Manager
Step 2: Upgrade your Android sdk Build-Tool From current to updated version. (In my case am upgrade it to 21.1.2)
Step 3: Rebuild your application.
This Steps Solved My Problem. Hope it solves your problem too.
I found the problem, build.gradle was on the wrong folder
I have just recently updated my android studio to 0.6.0, and it was giving me the same problem. But my build was 19.0.3, instead of 19.1.0. I changed the buildToolsVersion "19.0.3" to --> "19.1.0" which it forced the Gradle to download the updates. I restarted my Android Studio, and the error went away. Not sure exactly how to explain, but I think it forces it to download the patch off the Maven site, and does its justice behind scenes. And just as Gabriel Matusevich said, the build.gradle is located ProjectFolder -> AppFolder -> build.gradle
Exception: I havn't completed tested this out, but I did notice the Gradle was downloaded from the site, I havn't added or deleted code, or ran the application yet. So to be sure, remember the buildToolsVersion number you had before!