Daydream&Cardboard build fails on android-21
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.
asked Feb 02 '17 at 09:02 PM in Bug Reports
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.
Make it a great day
answered Feb 03 '17 at 03:31 PM
Rudy Q ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here