Unreal 5.6, unable to install APK on devices with Android 10 & 11

Upgraded both our test project and main game from 5.5 to 5.6

Android OS 10+11 unable to install apk : error message

“There was a problem while parsing the package.”

From logcat :

“Parse error when parsing manifest. Discontinuing installation”

Working on getting a fresh blank 5.6 project for further sanity checking.

Update : No repro with a Blank 5.6 project.

Proceeding to compare manifests and disable plugins etc

Glad you were able to resolve. What was the NDK API level configured as prior? In 5.6, it would default to android-26 in the SDK config.

General recommendation for Android is compileSdkVersion >= targetSdkVersion >= minSdkVersion >= NDK SDK API Level >= SDK version of target device.

Best regards.

Thanks for pointing out your use of Turnkey. Unfortunately, on this end with a fresh install and new template on Stock UE 5.6, this yielded minTargetSdk of 26 with NDK level also set to android-26. If the issue does come up again, don’t hesitate to circle back and we’d be happy to investigate further.

Best regards

Ahaa, minSdk is forced to 33.

From packaging log:

Fixing minSdkVersion; NDK level is 33 which is above minSdkVersion 28.

Ok, so let’s see how to fix this…

Solution : DefaultEngine.ini

NDKAPILevelOverride=android-28

The Override was blank prior to this. We have had

MinSDKVersion=28

TargetSDKVersion=35

for a pretty long while, and haven’t had to do any tweaks to any other settings as far as I can remember.

To setup, I always just run Turnkey and leave the sdk/ndk Locations blank.