[Interest] Android 14 (SDK 34) and Gradle
Assam Boudjelthia
assam.boudjelthia at qt.io
Sat Aug 24 10:44:11 CEST 2024
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 <maitai at 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 at qt-project.org
https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240824/bcbb603f/attachment.htm>
More information about the Interest
mailing list