Search Issue Tracker
Fixed in 5.6.0
Votes
2
Found in
5.6.0b4
Issue ID
871890
Regression
Yes
Android build fails when VR support is enabled (Cardboard or Daydream SDK) and minimum API level is less than 19
How to reproduce:
1. Create a new project
2. Switch platform to Android and open Player Settings
3. Enable Virtual Reality Supported and add Cardboard or Daydream SDK
4. Make sure that Minimum API level is less than 19
Result: Build fails and one of the errors:
Error: [Temp\StagingArea\AndroidManifest-main.xml:12, C:\...\New Unity Project 1\Temp\StagingArea\android-libraries\unitygvr\AndroidManifest.xml:3] Main manifest has <uses-sdk android:minSdkVersion='16'> but library uses minSdkVersion='19' ...
Reproducible: 5.6.0b4
Not reproducible: 5.6.0b3
Note: I also tested with Oculus SDK and Split Stereo display. With these two issue is not reproducible
DUT(repro):
LG G5 [LG-H850], OS 6.0.1
Samsung Galaxy S 5 Neo [SM-G903F], OS 5.1.1
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Quarty
Feb 05, 2017 07:39
API minimun for Cardboard is 19 and for daydream is 24, but when compiling only with Cardboard and API 19 continue requesting 24.