[Interest] Android 14 (SDK 34) and Gradle

ekke ekke at ekkes-corner.org
Sat Aug 24 10:44:45 CEST 2024


Hi Philippe,
I always rely on Qt to use matching Gradle etc.

I never download Gradle by myself

In QtCreator I'm using 'Create Templates' and copy all into my project.
Here's per ex. for Qt 6.7:
https://ekkesapps.wordpress.com/qt-6-cmake/qtcreator-android-templates-2/qtcreator-android-templates-6-7/

if there are warnings it's not the newest one I ignore.

ciao

ekke

Am 24.08.24 um 10:32 schrieb maitai:
> 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
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest



More information about the Interest mailing list