The specified Android SDK Build Tools version (26.0.2) is ignored

The specified Android SDK Build Tools version (26.0.2) is   
ignored, as it is below the minimum supported version (27.0.3) 
for Android Gradle Plugin 3.1.2.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '26.0.2'" 
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


Configuration 'compile' is obsolete and has been replaced with 
'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: 
http://d.android.com/r/tools/update-dependency-configurations.html

如果你出现这个错误,且你已经在你的APP里面修改你build.gradle文件,但还是出错,这个时候你就要注意了,可能是你所依赖的项目里面还有没有更改的。

所以,你只要看下你依赖的包里面有没有还未更改的build.gradle,你把它改过来就可以了。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容