升级到Android Studio 3.2.1,报The specified Android SDK Build Tools version (25.0.0) is ignored, as it is

版权声明:本文为博主原创文章,不得随意转载,转载请注明出处!!! https://blog.csdn.net/YuDBL/article/details/85995786

升级到Android Studio 3.2.1 ,引入以前公司项目,报

The specified Android SDK Build Tools version (25.0.0) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.3.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.0'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
Update Build Tools version and sync project
Open File

解决方式:
buildToolsVersion 版本号不匹配,修改成匹配的版本即可,修改后:

   compileSdkVersion 24
//    buildToolsVersion '25.0.0'
    buildToolsVersion '27.0.3'

猜你喜欢

转载自blog.csdn.net/YuDBL/article/details/85995786