I have a project that I’ve built many many times on 5.6, but after the 5.6.1 update it errors and tells me I need SDK 35, which I have installed. And says I’m using SDK 34 which I am not targeting and I have actually now uninstalled it compeltely from my system, so where is this error coming from? Is there a different place I need to update the compileSDK?
Also, I have run the SetupAndroid.bat twice and restarted to no avail.
My project settings:
It’s infuriating that with every update, it breaks a bunch of stuff and instead of time spent creating, I’m chasing down ghosts for days. Any help is appreciated. Thanks!
1 Like
SDK API Level has to be set to “android-35” not just “35”. Try that and see if it solves the problem. If it doesnt solve the problem also try setting NDK API Level to “android-35”
Unfortunately, that didn’t fix the issue. I tried changing the SDK and NDK both separately and together. I also deleted Build, Binaries, Derived Data, Intermediate and Saved before repackaging to make sure there were no residual files.
I don’t understand how it’s still trying to use 34 when I’m not telling it anywhere to do that.
Could you post the whole output/log you get when trying to package?
Sure here is the full Log. Thanks for taking a look!
log.txt (262.7 KB)
Can you open gradle.properties under “(project)\Intermediate\Android\gradle\gradle.properties” and look for “COMPILE_SDK_VERSION=” “BUILD_TOOLS_VERSION=” and “TARGET_SDK_VERSION=”. Check if all of them are set to 35.
Aha. Project settings are all 35 but looks like Firebase Features is still requesting 34. Any idea on how to disreagrd that? I am using Blueprints not C++ and I’d rather keep it in Blueprints if possible. If I have to change it I will though. Assuming that is what’s causing the issue.
Ok good, should be easy enough to solve this. Based on your log the firebase plugins UPL is located in “J:\Unreal Engine\UE_5.6\Engine\Plugins\Marketplace\Firebase0ab5c6def89eV14\Source\FirebaseFeatures\FirebaseSdk.android.upl.xml”.
Open it up and look for COMPILE_SDK_VERSION (or similar) and change it to 35.
I was able to get an updated plugin from the Dev and it fixed that issue. I did run into another batch of errors with the Android Profiler afterward but I decided to just create a new project and migrate everything, and now it packages again. Since the original project was developed in 5.2 I’m thinking there was a lot of holdover stuff that was causing conflicts.
Also discovered that somehow these overrides were set to 35 which I think is what caused me to go down this rabbit hole in the first place., though removing them in the original project didn’t fix the profiling errors.
Anyway, thanks for your help!
1 Like