报错
The specified Android SDK Build Tools version (25.0.1) is ignored, as it is below the minimum supported version (26.0.2) for Android Gradle Plugin 3.0.1.Android SDK Build Tools 26.0.2 will be used.
To suppress this warning, remove “buildToolsVersion ‘25.0.1’” 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.
解决
build.gradle中compileSdkVersion
版本号与buildToolsVersion
不匹配。
改为匹配即可。