Search Issue Tracker

Fixed in 5.6.0



Found in


Issue ID




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

LG G5 [LG-H850], OS 6.0.1
Samsung Galaxy S 5 Neo [SM-G903F], OS 5.1.1

Comments (1)

  1. 00b775032ce65c0518ee9c05d5ad185a?d=mm


    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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.