# 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)

**URL:** <https://forums.unrealengine.com/t/warning-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/1940453>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [July 17, 2024, 9:35am UTC](https://forums.unrealengine.com/t/warning-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/1940453 "2024-07-17T09:35:12Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Skyboy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skyboy](https://forums.unrealengine.com/u/Skyboy)\
**Post date:** [July 31, 2024, 1:28pm UTC](https://forums.unrealengine.com/t/warning-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/1940453/15 "2024-07-31T13:28:06Z")

</div>

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](https://www.youtube.com/watch?v=8xJRr6Yr_LU)

- 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.

 ![UInreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/5/845c8d747f705f0c969e59423c4f9de80f08264e.png)

---

_[View the full topic](https://forums.unrealengine.com/t/warning-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/1940453)._
