Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See Command-Line Interface 10
CONFIGURE SUCCESSFUL in 14s
编译打包出现以上提示,大概意思7.0版本使用的内容方法将会过时,让你适配一下
通过执行此命令查看具体原因:gradlew --warning-mode all
根据结果解决问题就可以了,如果遇到命令无法执行看我之前文章:https://www.jianshu.com/p/3f523d955e3b