错误:项目“:app"的 SDK 构建工具修订版 (23.0.3) 太低.最低要求是 25.0.0 [英] Error:The SDK Build Tools revision (23.0.3) is too low for project ':app'. Minimum required is 25.0.0

查看:20
本文介绍了错误:项目“:app"的 SDK 构建工具修订版 (23.0.3) 太低.最低要求是 25.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题重复,但我的问题不同.

The title is a duplicate but my question is different.

同一个项目运行良好,允许构建在

The same project works fine and is allowed to be built on

构建工具版本 23.0.3

buildToolsVersion 23.0.3

在我同事的系统上.据我所知,只有 android studio 版本不同.如果我没有将我的 android studio 升级到2.3.Beta 2",是否有可能我仍然可以使用 23.0.3 构建吗?

on my colleague's system. As far as I know only the android studio version is different. Is it possible that if I hadn't upgraded my android studio to "2.3.Beta 2" I could still build with 23.0.3?

推荐答案

You have to change top-level build.gradle from

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()
    }
}

到:

// 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()
    }
}

这篇关于错误:项目“:app"的 SDK 构建工具修订版 (23.0.3) 太低.最低要求是 25.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆