Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

We recommend using a newer Android Gradle plugin to use compileSdk = 34

We recommend using a newer Android Gradle plugin to use compileSdk = 34

This Android Gradle plugin (8.0.2) was tested up to compileSdk = 33.

You are strongly encouraged to update your project to use a newer Android Gradle plugin that has been tested with compileSdk = 34.

If you are already using the latest version of the Android Gradle plugin, you may need to wait until a newer version with support for compileSdk = 34 is available.

To suppress this warning, add/update android.suppressUnsupportedCompileSdk=34 to this project's gradle.properties.

Need Help, anyone solution please

like image 411
Design House Avatar asked Sep 06 '25 06:09

Design House


2 Answers

When using gradle plugin 8.1.1 the warning goes away. There are no release notes of gradle plugin 8.1.1, but looks like they added support for SDK 34

like image 99
jcesarmobile Avatar answered Sep 07 '25 22:09

jcesarmobile


I have been running into this issue using the newest version of Android Studio and Gradle 8.1. I set my Gradle version to 8.3 in File > Project Structure > Project > Gradle Version but the Android Upgrade Assistant will not allow me to update past 8.1.

My guess is that the current version of the Upgrade Assistant doesn't know exactly how to update your project safely to use a version of Gradle above 8.1 so we may have to wait for an Android Studio Update to resolve this warning. Sorry I couldn't be of more help.

like image 45
Martymane Avatar answered Sep 07 '25 21:09

Martymane