Fails packaging ‘Daydream & Cardboard’ app in 4.15.3, when min and target SDK versions are set to 21. Error messages:
[aapt] D:\github\memory\Intermediate\Android\APK\bin\AndroidManifest.xml:4: error: No resource identifier found for attribute ‘enableVrMode’ in package ‘android’
[aapt] D:\github\memory\Intermediate\Android\APK\bin\AndroidManifest.xml:4: error: No resource identifier found for attribute ‘resizeableActivity’ in package ‘android’
Looks like it is trying to use Android N features.
Cardboard-only build completes but crashes on device.
In 4.14.3 it was possible to build such configuration.
You will need to set the Android SDK Level to android-24 in the Android SDK project settings, but leave NDK level at android-21. Set your target SDK to 21, not 24. This will fix the compile error. Also make sure you install SDK Platform 24 with SDK Manager (only 19 and 21 are installed by default by Codework for Android). I hope that this information helps.
I am unclear after your last comment as to whether or not you still require assistance with this issue. If you still require help, could you go through and answer the questions from my previous post?
Well, I still can’t launch project on Android 6. Thus, I still need help or this is an issue of UE4.15. I won’t have additional info today but will update you as soon as I can.
My bad. Apparently, I messed with SDK versions at first. After reading your instructions more carefully, I managed to make a correct build which works on both Android 6 and 7. Thanks a lot!