Hi,

You need to update both Gradle and Android Gradle Plugin (AGP), the one you 
updated is AGP only.
Check this patch https://codereview.qt-project.org/c/qt/qtbase/+/584906 that 
shows how to update both
and QTBUG-127871</QTBUG-127871> for more hints on Gradle update for 5.15.

Best regards,
Assam

On Aug 24, 2024, at 11:32 AM, maitai <mai...@virtual-winds.org> wrote:

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@qt-project.org
https://lists.qt-project.org/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to