Android builds won't run on API 19 or below. Always Crashes! 4.17.1
Since Unreal Engine 4.16 that any of my games can't run under devices with API 19 or below. The same story in 4.17.
I was expecting in this new engine version to get best android performance, among other things (since my focus is mobile/android development), instead, I had to unsupport all android devices from API 19 and below since every time I package my projects to this devices it always crashes no matter what I do. Every Project I Build for API 21 and up works with no problems!
Steps I'm taking:
1 - Made an APK to support API 15 minimum and target 19 to use ETC1 textures. (NDK 19 and SDK = matchndk)
2 - Made an APK to support API 21 minimum and target 24 to use ETC2 textures and ES2 and ES3.1 and Vulkan (NDK 21 and SDK "latest")
Problem - The APK based on 15/19 does not work and crashes on it's respective devices. Only the APK 21/24 is working correctly with no problems at all!
This happens with all my projects and even with the template projects from UE4.
Screenshots and Logcat:
Guys, I've been trying 4.18 and so far, Api 15/19 is working perfectly as intended. So I'm closing this thread for now. You should really try the new engine version. Have a great day everyone ;)
PS: If you build for API 15/19 it will throw an error with OVRPlugin. Simply disable the OculusVR plugin and the game will package with no problems. At least this happened with me.
Follow this question
Once you sign in you will be able to subscribe for any updates here