Android Studio Gradle BuildTools Revision

后端 未结 11 907
故里飘歌
故里飘歌 2020-12-08 03:57

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         


        
11条回答
  •  爱一瞬间的悲伤
    2020-12-08 04:34

    I had the same problem this morning after updating to .6.0. You need to change you gradle version in /projectName/build.gradle

    classpath 'com.android.tools.build:gradle:0.11.+'
    

    Open your SDK manager and download the new version of the build tools 19.1 then change the following line in /projectName/moduleName/build.gradle

    android {
      compileSdkVersion 19
      buildToolsVersion "19.1" //This version needs to be updated to 19.1 after SDK update
    
      ...
    
    }
    

    Then sync your gradle files and you should be good to go!

提交回复
热议问题