08-27-2018 02:20 PM
cmake { arguments "-DOCULUS_ANDROID_EMBED=TRUE" }
to the "defaultConfig { externalNativeBuild {} }" block, and
externalNativeBuild { cmake { path "../../lovr/CMakeLists.txt" } }
to the android {} block. This is what the google documentation said to do.FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':VrSamples:VrCubeWorld_Framework:Projects:Android'.
> More than one externalNativeBuild path specified
I am not familiar with Gradle but I looked on google and it turned up the gradle source code (!). It looks like you cannot use ndkBuild and Cmake in the same project.09-14-2018 02:09 PM
09-17-2018 06:05 PM
11-29-2018 02:39 PM