错误:对于项目':app',SDK Build Tools版本(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

查看:291
本文介绍了错误:对于项目':app',SDK Build Tools版本(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

buildToolsVersion 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?

推荐答案

您必须从

更改顶级 build.gradle

// 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 Build Tools版本(23.0.3)太低.最低要求是25.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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