We recommend using a newer Android Gradle plugin to use compileSdk = 32
This Android Gradle plugin (7.0.4) was tested up to compileSdk = 31
This warning can be suppressed by adding
android.suppressUnsupportedCompileSdk=32
to this project's gradle.properties
The build will continue, but you are strongly encouraged to update your project to
use a newer Android Gradle Plugin that has been tested with compileSdk = 32
我们建议使用一个更新的Android Gradle插件来使用compileSdk = 32
这个Android Gradle插件(7.0.4)已经经过了compileSdk = 31的测试
可以通过添加来抑制此警告
android.suppressUnsupportedCompileSdk = 32
到这个项目的gradle.properties
构建将继续进行,但强烈建议您将项目更新为
使用使用compileSdk = 32测试过的更新的Android Gradle Plugin
大意是得更新到compileSdk = 32
compileSdk更新到32 重新编译运行
刚刚写的,你可以参考一下https://blog.csdn.net/qq_58451437/article/details/122641421
明明是叫更新 AGP
有一个东西叫做翻译,这提示已经很明显了