The SDK Build Tools revision (23.0.3) is too low for project ':app'. Minimum required is 25.0.0

来源:互联网 发布:嵌入式软件 大公司 编辑:程序博客网 时间:2024/06/05 02:32

参考:http://stackoverflow.com/questions/41890659/errorthe-sdk-build-tools-revision-23-0-3-is-too-low-for-project-app-minim

You have to change top-level build.gradle from

// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript {    repositories {        jcenter()    }    dependencies {        classpath 'com.android.tools.build:gradle:2.3.0'        // NOTE: Do not place your application dependencies here; they belong        // in the individual module build.gradle files//        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'    }}allprojects {    repositories {        jcenter()    }}

to:

// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript {    repositories {        jcenter()    }    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//        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'    }}allprojects {    repositories {        jcenter()    }}

0 0
原创粉丝点击