Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

recommend using a newer Android Gradle plugin to use compileSdk = 32

Tags:

android

gradle

who can help me fix this warning " 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 " How to fix it?

thanks All

like image 920
Nam Tran Avatar asked Oct 15 '25 07:10

Nam Tran


1 Answers

With upcoming versions of AGP, this should be solved but till then you can follow the quick suppression fix given there in the warning: "This warning can be suppressed by adding android.suppressUnsupportedCompileSdk=32 to this project's gradle.properties"

EDIT:-

I checked today and there's now no need to suppress the warning.

AGP Version: 7.2.0-alpha07

Gradle Version: 7.4-rc-1

like image 86
Sujal Kumar Avatar answered Oct 16 '25 23:10

Sujal Kumar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!