Android studio running warning We recommend using a newer Android Gradle plugin to use compileSdk = 33

Android studio running warning We recommend using a newer Android Gradle plugin to use compileSdk = 33:

This warning appears when I just start running Android studio. Although it has no impact on the running of the project, as a programmer, how can I let bugs appear in front of my eyes?
insert image description here

The meaning of this warning is that
it is recommended to use a new Android Gradle plug-in to use compileSdk = 33.
This Android Gradle plug-in (7.1.2) has passed the test of compileSdk = 32. You can suppress this
by adding
the code android.suppressUnsupportedCompileSdk=33.
warn

Method 1: Download a new Android Gradle plug-in to use compileSdk = 33
Method 2: Suppress this warning, find gradle.properties in this project, and add android.suppressUnsupportedCompileSdk=33 to this file
insert image description here
Method 3: Android studio has passed compileSdk = 32 test, then use compileSdk = 32
insert image description here

Just change the specified place to 32, and then run again

Guess you like

Origin blog.csdn.net/weixin_51966599/article/details/127142288