# unreal 5.0.3 building for sdk target 35 android google people

**URL:** <https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724>\
**Category:** Mobile\
**Tags:** unreal-engine, question\
**Created:** [July 15, 2024, 4:54am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724 "2024-07-15T04:54:56Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 15, 2024, 4:54am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/1 "2024-07-15T04:54:56Z")

</div>

hi, i wanted to know how to build for android target sdk 35, using unreal 5.0.3 i did it with 5.3 but its badly optimized engine i reverted to unreal 5.0.3 but now, at sdk target 35 i get crashes, i downloaded all the necesarry sdks and all that for 35, but issue seems oddly persisnent, the app crashes on mobile without any warning, just doesnt open, fix this, NOW.

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 15, 2024, 9:35am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/2 "2024-07-15T09:35:39Z")

</div>

so, has any one experienced this or am i just way too far ahead of the curve as usual.

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 15, 2024, 2:19pm UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/3 "2024-07-15T14:19:36Z")

</div>

ok, so issue is in ndk area i believe, for example, 23 compiles but doesnt run app, but 21 does, so, maybe try em out, since its from 21-23 min to max ndk allowed for 5.0.3,

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 16, 2024, 3:51am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/4 "2024-07-16T03:51:21Z")

</div>

fixed it, great news. using 19 to 35 api on unreal 5.0.3, works just have to set it up correctly.

using ndk 21.4.7 i was able to get api 35 to launch without auto crashing on android, works great.

---

<div class="post-metadata">

**Author:** ![ZemmaiSamurai\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZemmaiSamurai\_1](https://forums.unrealengine.com/u/ZemmaiSamurai_1)\
**Post date:** [July 20, 2024, 11:16pm UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/5 "2024-07-20T23:16:07Z")

</div>

Could you elaborate your Android Studio settings?  
I struggled with UE4.27 in order to update my app, and UE5.0 is almost the same in Android environment: they require Android Studio 4.0. UE5.3 require AS Flamingo.  
I think you have done something to downgrade the Android Settings. I really appreciate you tell me your settings such as:

- Android Studio
- SDK Build Tool
- UPL for packaging

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 23, 2024, 5:10pm UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/6 "2024-07-23T17:10:25Z")

</div>

its pretty simple, ive installed all the sdks up to api 35, and build tools including the latest build tool, i made sure that there were no holes in the android studio department, then i just did some basic tests with the ndks i downloaded in android studio, since every engine has the minimum, maximum ndk requirement thing, it can be used to set it up for specific builds.

so:  
all sdk platforms installed for my convinience.  
downloaded all build tools.  
downloaded the required ndk for my specific engine version for testing out each.  
downloaded all the android sdk command line tools. just for assurance sake.  
and yeah thats it, just make sure android studio is all set up.  
then you can do tests each ndk on each engine.

---

<div class="post-metadata">

**Author:** ![LuizGaming](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luizgaming/32/755162_2.png) [@LuizGaming](https://forums.unrealengine.com/u/LuizGaming)\
**Post date:** [July 23, 2024, 8:15pm UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/7 "2024-07-23T20:15:27Z")

</div>

@araz01 your game working fine with SDK35?  
I have problem with SDK 34… my game crashing after start. I need update from SDK33 to SDK34 (Google Play requirement).  
On SDK33 game working fine

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 24, 2024, 11:08am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/8 "2024-07-24T11:08:17Z")

</div>

well, game was working fine with the top requirements, yes i could run with sdk 35, unreal 5.0.3, auto install bat

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 24, 2024, 11:31am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/9 "2024-07-24T11:31:36Z")

</div>

im doin further tests to see what works and how, etc, mite take a wile

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 26, 2024, 8:58am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/10 "2024-07-26T08:58:39Z")

</div>

i did some further tests.  
i see that with auto install bat it works fine.  
but after moving my sdks and ndks and all to diff drive, i realize that manual install just crashes after api 34, i tried changing jdk to highest point, with is jdk 13.0.2, i believe for unreal 5.0.3, but even then the ndks crash, various issues i found with the build.  
ndks above 21.4.7 crashes even on 33 api, but 21.4.7 was working with api 35, but manual install i believe just crashes, im not sure, i cant repeat it since i move all stuff to diff drive.

long story short, it just doesnt build for 34 or 35, no idea why, i treid many tests, even wasted a few days, which typicall would be enough to build my next triple a game. anyhows.

currently im gonna go with the easy solution and see if upgrading to 5.1 or 5.2 if it doesnt have optimization issues, is to my benefit and of it working, just a ton of hassle for nothing.

seriously, how hard is it to make something that works unreal.  
fix this. now.

---

<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 26, 2024, 9:46am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/11 "2024-07-26T09:46:43Z")

</div>

This is super interesting. (Needed for Google requirement stuff)

I’m using 5.4.0 with The latest sdk/ndk/tools etc, But when I go to compile, it says my compiler can only go to 33. Seems you’ve hit the same wall.  
So I guess I’m here just to join the list of people waiting for the fix.

I look forward to see if you make any headway, I’ve been banging my head against the wall for what feels like a month now, I came to the conclusion I’m just not skilled enough to figure this out.

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 26, 2024, 9:49am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/12 "2024-07-26T09:49:37Z")

</div>

oh no, you can easily build with 5.3 prob def 5.4, its just idk what it is with 5.0 might be something just doesnt work crashes, idk, exact issue, could also be my set up. it was working. but ive built with 5.3, you just gotta set it up correctly.

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 26, 2024, 9:51am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/13 "2024-07-26T09:51:57Z")

</div>

i guess while im waitin ill do further tests to see if i can crack the code on 5.0.3, sometimes you just need a genius to make it happen

---

<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 26, 2024, 1:57pm UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/14 "2024-07-26T13:57:21Z")

</div>

I’m curious why you reckon Im getting this error when I compile?

Unreal: WARNING:R8: An API level of 34 is not supported by this compiler. Please use an API level of 33 or earlier.

This is using 5.4.0.

This is a link to an post few days after yours. [Link](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/6)

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 26, 2024, 4:18pm UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/15 "2024-07-26T16:18:34Z")

</div>

idk, i think you might be using maybe wrong ndk version or something? because each ndk iv learned, builds with certain api level, so too high, might build with higher version i think, i kno only little from my few days of expereince but try reducing ndk version youve chosen.

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 26, 2024, 4:19pm UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/16 "2024-07-26T16:19:20Z")

</div>

for example, ndk 23 on 5.0.3 was building with api of i think 31 or something, or 30, so, yeah lol,  
where as older ndks build with api 29 or somthin

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [July 27, 2024, 12:32pm UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/17 "2024-07-27T12:32:23Z")

</div>

quick update, its sabath is coming up now, sunday, starting from this evening till sunday evening.  
and i just wanted to say, it seems i may have these issues due to some kind of problem with moving the sdks and ndks and jdks to external drive, etc, all this must of caused some kind of issue of some kind, will address this after sabath.

edit:  
sabath is over and simple log tests gave me detail descrp of whats causing the issue:  
2024-07-28 19:08:50.528 8523-8523/? E/AndroidRuntime: FATAL EXCEPTION: main  
Process: com.arazstudio.testproj, PID: 8523  
java.lang.SecurityException: com.arazstudio.testproj: One of RECEIVER\_EXPORTED or RECEIVER\_NOT\_EXPORTED should be specified when a receiver isn’t being registered exclusively for system broadcasts  
at android.os.Parcel.createExceptionOrNull(Parcel.java:3069)  
at android.os.Parcel.createException(Parcel.java:3053)  
at android.os.Parcel.readException(Parcel.java:3036)  
at android.os.Parcel.readException(Parcel.java:2978)  
at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:6157)  
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1913)  
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1853)  
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1841)  
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:772)  
at com.epicgames.unreal.GameActivity.onStart(GameActivity.java:744)  
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1582)  
at android.app.Activity.performStart(Activity.java:9008)  
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4198)  
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:225)  
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:205)  
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:177)  
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:98)  
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2685)  
at android.os.Handler.dispatchMessage(Handler.java:106)  
at android.os.Looper.loopOnce(Looper.java:230)  
at android.os.Looper.loop(Looper.java:319)  
at android.app.ActivityThread.main(ActivityThread.java:8919)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)  
Caused by: android.os.RemoteException: Remote stack trace:  
at com.android.server.am.ActivityManagerService.registerReceiverWithFeature(ActivityManagerService.java:16680)  
at android.app.IActivityManager$Stub.onTransact$registerReceiverWithFeature$(IActivityManager.java:11613)  
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2961)  
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3199)  
at android.os.Binder.execTransactInternal(Binder.java:1375)

one step closer to the fix

edit, just few minutes later i was able to fix it:  
wonderful NEWS! i was able to fix it, its basic issue that occurs in devoloperbuilds i think, but overall this is the fix, building for shipping i think it doesnt occur but here i found the fix:  
pretty easy to do, just edit the java file in txt notepad and you can easily run in with api 35:  
here is place where i fixed it:

> [@API LEVEL 34 java.lang.SecurityException: One of RECEIVER\_EXPORTED or RECEIVER\_NOT\_EXPORTED](https://forums.unrealengine.com/t/api-level-34-java-lang-securityexception-one-of-receiver-exported-or-receiver-not-exported/1889544):
>
> the issue i am facing when ever i try to run game build on api level 34 it gives me following error java.lang.SecurityException: com.yourcompany.yourproject: One of RECEIVER\_EXPORTED or RECEIVER\_NOT\_EXPORTED should be specified when a receiver isn’t being registered exclusively for system broadcasts … i know games works without any issue on api level 33 but from this august google policy is going to be changed and then minimum api level will be incremented to 34 minimum so i have to package g…

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [August 6, 2024, 9:01am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/18 "2024-08-06T09:01:16Z")

</div>

hi, i looked into the issue further and fixed it here:

> [@UNREAL 5.0.3 RECEIVER\_EXPORTED error in gameactivity.java.template for 34+ api](https://forums.unrealengine.com/t/unreal-5-0-3-receiver-exported-error-in-gameactivity-java-template-for-34-api/1954214):
>
> hi, im facing a simple issue, where the build seems to fail upon not recognizing the “symbol” for RECEIVER\_EXPORTED, i thought id ask if someone has expereinced the same and knew the issue: \GameActivity.java:768: error: cannot find symbol registerReceiver(consoleCmdReceiver, new IntentFilter(Intent.ACTION\_RUN), RECEIVER\_EXPORTED); this is the error, cannot find symbol, and it occurs when i change the //registerReceiver(consoleCmdReceiver, new IntentFilter(Intent.ACTION\_RUN)); to registerR…

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [September 5, 2024, 9:01am UTC](https://forums.unrealengine.com/t/unreal-5-0-3-building-for-sdk-target-35-android-google-people/1937724/19 "2024-09-05T09:01:26Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
