[Interest] Android 14 (SDK 34) and Gradle

maitai maitai at virtual-winds.org
Sat Aug 24 10:32:09 CEST 2024


Hi,

We have recently upgraded our Android build to use and target SDK34 
(required by Google by August, 31).

All is fine but I have some weird messages during the build concerning 
Gradle:

WARNING:We recommend using a newer Android Gradle plugin to use 
compileSdk = 34
This Android Gradle plugin (7.0.2) was tested up to compileSdk = 31
This warning can be suppressed by adding 
android.suppressUnsupportedCompileSdk=34 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 = 34

I have tried to update Gradle to latest (I think) 8.5.2, it downloads it 
but then gives errors like "Minimum supported Gradle version is 8.7" and 
trying to update to 8.7 does not work probably because 8.7 is still in 
beta as I understand.

Should I stay in 7.0.2 and live with these errors messages, or is there 
a way to update Gradle ?

We are using Qt5.15.17

Thanks,
Philippe Lelong


More information about the Interest mailing list