Google is now requiring API 35 and I am not able to build with it

My app is released on Google Play, using API 34. Has anyone been able to build using API 35? I am using UE 5.4 and would rather not move the game to 5.5 or 5.6. According to the Epic documentation API 35 isn’t supported by them anyway? Are all Unreal apps unable to be on Google Play soon?

I am getting the typical Unknown error issue. Trying all the typical solutions, no luck.

It’s the exact same for me. We have to move to target API 35, yet UE5 cannot build with API 35.
So that’s super fun.

Don’t bother switching to 5.5 either, it’s the same errors - Java cannot find symbols and aapt2.exe.

1 Like

I get 6 java cannot find symbol errors, you can get rid of them by doing this admob script update.
Now it builds and gives me an error about aapt2.exe, which I think is related to Gradle.

Still can’t package targeting SDK API 35. Coooooool.

1 Like

Okay I’ve got it packaged.
I imagine what you’ll need to do is upgrade Gradle and go to UE5.5 which sucks but I couldn’t upgrade Gradle with my current project - upgrades from 7.4.2 were not allowed in the upgrade assistant in Android studio.

So I upgraded Gradle from 7.4.2 to 8.9
Upgraded my project from 5.4 to 5.5
Installed ALL the basic SDK/NDK stuff in Android studio SDK manager from 20 - 35
Minimum SDK version: 20 (tooltip says you shouldn’t go below 26 but the build process auto-fixes this)
Target SDK version: 31 (I have an old phone, you can probably set this a bit higher)

SDK API Level: android-35
NDK API Level: android-26

You can do this, it took me literally 2.5 days of dawn-to-dusk work to get this information above. I hope you can profit from it.

but will it build Target SDK version 35? Isn’t that needed by Google?

Yes. I just uploaded my app to open testing this morning and that error message went away.
Right now I’m trying to figure out how to migrate google play billing from 6.2.1 to 7. That’s the last warning for me though.


This is the part Google requires - SDK API Level: android-35

The Target SDK Version can be lower, mine is 34 so I can access a few more devices.

Hi Risky Biscuit,
how did you manage to upgrade Gradle from 7.4.2 to 8.9?

I did as you mentioned but still getting build errors like:

FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (ETC2)): * What went wrong:
UATHelper: Packaging (Android (ETC2)): Execution failed for task ‘:app:bundleReleaseResources’.
UATHelper: Packaging (Android (ETC2)): > A failure occurred while executing com.android.build.gradle.internal.res.Aapt2ProcessResourcesRunnable
UATHelper: Packaging (Android (ETC2)): > Android resource linking failed
UATHelper: Packaging (Android (ETC2)): aapt2.exe E 07-16 21:43:08 11188 12832 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
UATHelper: Packaging (Android (ETC2)): aapt2.exe E 07-16 21:43:08 11188 12832 ApkAssets.cpp:149] Failed to load resources table in APK ‘D:\UnrealAndroidSDK\platforms\android-35\android.jar’.
UATHelper: Packaging (Android (ETC2)): error: failed to load include path D:\UnrealAndroidSDK\platforms\android-35\android.jar.

Gettin totally frustrated to make it build with api 35

Little hack to get past of that error is to copy “android.jar” file from android-34 sdk folder and paste it to android-35 sdk folder.

1 Like

Hi IlariA_1,

interesting one, will give it a try, thanks!
Regards