WARNING:R8: An API level of 34 is not supported by this compiler. Please use an API level of 33 or earlier (App must target Android 14 (API level 34) or higher)

Ok Ive just Reuploaded a production version that seems to hit 34+
Heres how I did it. (It still gets the warnings. Like…a lot of them, as posted above.)

I updated my Visual Studio following this guide. Link

  • Unreal was updated using its library launch instead of shortcut to update to 5.4.3.

  • Android studio was updated to the latest version of koala.
    Using the max allowed NDK for 5.4.3 which is currently 26.2.11394342 (r26c) in android studio NDK section.

  • I also set my root NDK in environmental to the same NDK as above.

  • I went into build.gradle and wrapper found here
    (Your drive)\UE_5.4\Engine\Build\Android\Java\gradle
    In build.gradle to 8.5.1
    and
    (Your drive)\UE_5.4\Engine\Build\Android\Java\gradle\gradle\wrapper
    In gradle-wrapper changing for 8.7

  • Inside unreal, I set Both SDK and NDK to latest
    Directed only the NDK to the location above.

  • And then mini and target sdk is both 34

It does say 34+ instead of 33+ In google console…But I guess we gotta wait to see after its published.

Update:
A big sigh… and a long lean back in the chair required.

Update 2: It has been accepted and this is finally solved.

2 Likes