VrSamples/VrCubeworld_Framework/Projects/Android build fails
I'm brand new to Oculus development, so definite newbie here.
I'm attempting to follow the instructions at:
developer.oculus.com/documentation/native/android/mobile-studio-basics/
I haven't set my Quest to developer mode yet so I figured I'd see if I can just get the sample code to build. All seems fine until I select Build->Make Project from the menu bar to start the build. It ended up reporting the following error message:
Execution failed for task ':SampleFramework:Projects:Android:externalNativeBuildDebug'.
> Unexpected native build target sampleframework. Valid values are HandMaskRenderer, HandRenderer, Framebuffer, SurfaceRenderApp, Appl, HandModel, Android
One thing that was not clear from the documentation. It tells me to:
===QUOTE===
Select Target Configuration, Build, and Run
Make sure you have followed the configuration steps in Device Setup - Oculus Android and Android Development Software Setup to ensure your device and development environment are configured appropriately.
Before building, select the target configuration you wish to build by selecting Edit Configurations in the project menu in the Android Studio toolbar.
=== END QUOTE ===
I did perform the tasks described in Android Development Software Setup, but not the steps in Device Setup - Oculus Android since I figured those would be necessary for downloading and running the built code on the target Quest but not for just building it.
I did click Edit Configurations as described but since the documentation doesn't describe what to do in the resultant "Run/Debug Configurations" window I just Cancelled out of it. I then ran Build->Make Project and that when I got the error message.
Is it necessary to connect the target Quest just to build the code?
I'm guessing it has to do with something I failed to do in Edit Configurations.
Help appreciated. Thanks.
