Gradle warning when compiling Android on 5.6.1

After upgrading to 5.6.1, we’re seeing a new warning when compiling Android Game and Client targets:

WARNING: We recommend using a newer Android Gradle plugin to use compileSdk = 35

This Android Gradle plugin (8.5.2) was tested up to compileSdk = 34.

It seems that with the bump to NDK 27.2.12479018 the max API version UBT defaults to is 35, but gradle 8.5.2 isnt supported at that version and expects at least 8.6.0.

Is this something you see internally in Epic as well? Would you recommend pinning your API level to 34, or trying to upgrade gradle? We’d like to align as much as possible to the fix that would eventually come through new Unreal versions

Steps to Reproduce

Hi Sean,

Based on local testing, I have not encountered any issues with compileSdk 35 with either Gradle 8.5.2 or after locally upgrading to build against 8.6.0. The warning emitted by 8.5.2 is benign and safe to ignore.

Best regards.

Upgrading seems reasonable then. Threw up a PR for this as well https://github.com/EpicGames/UnrealEngine/pull/13689

Sounds good. Please let us know if you experience any issues on your end.

Best regards.