解决问题:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
1 配置gradlew
https://blog.csdn.net/u010042669/article/details/80914656
2 使用gradle --warning-mode all,注意是gradle --warning-mode all 不是gradlew --warning-mode all
https://zhuanlan.zhihu.com/p/122516941
解决一直提示try again问题
打开idea.log,一般在C:\Users\用户名\AppData\Local\Google\AndroidStudio4.2\log
或者直接点击try again提示那一栏第三个选项show Log in Explorer
打开idea.log后,滑到最下面,就是最新的错误信息。