I am facing the issue for finding OCULUS_SDK_PATH. Please see the below time stacktree of errors in android studio. Please help me to sort out this problem
BUILD FAILED in 6s
Traceback (most recent call last):
File "/Users/admin/Downloads/ovr_sdk_mobile_1.29.0/bin/scripts/build/ovrbuild_sdklibs.py", line 38, in <module>
build_sdk_libs()
building in /Users/admin/Downloads/ovr_sdk_mobile_1.29.0
File "/Users/admin/Downloads/ovr_sdk_mobile_1.29.0/bin/scripts/build/ovrbuild_sdklibs.py", line 34, in build_sdk_libs
/Users/admin/Downloads/ovr_sdk_mobile_1.29.0/bin/scripts/build/../../../gradlew assembleDebug --no-daemon -quiet -Pdisable_sig_check --build-cache --configure-on-demand --parallel
ovrbuild.build_in_dir(os.environ['OCULUS_SDK_PATH'])
/Users/admin/Downloads/ovr_sdk_mobile_1.29.0/bin/scripts/build/../../../gradlew assembleDebug --no-daemon -quiet -Pdisable_sig_check --build-cache --configure-on-demand --parallel
FAILURE: Build failed with an exception.
* What went wrong:
File "/Users/admin/Downloads/ovr_sdk_mobile_1.29.0/bin/scripts/build/ovrbuild.py", line 308, in build_in_dir
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
run_gradle_task(command_options, 'assembleDebug', args)
> Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().
File "/Users/admin/Downloads/ovr_sdk_mobile_1.29.0/bin/scripts/build/ovrbuild.py", line 296, in run_gradle_task
call(command)
* Try:
File "/Users/admin/Downloads/ovr_sdk_mobile_1.29.0/bin/scripts/build/ovrbuild.py", line 226, in call
raise BuildFailedException(error_string)
ovrbuild.BuildFailedException
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
> Task :VrSamples:Vr360PhotoViewer:Projects:Android:buildSdkLibsDebug FAILED
FAILURE: Build failed with an exception.
* Where:
Script '/Users/admin/Downloads/ovr_sdk_mobile_1.29.0/VrApp.gradle' line: 368
* What went wrong:
Execution failed for task ':VrSamples:Vr360PhotoViewer:Projects:Android:buildSdkLibsDebug'.
> Process 'command 'python'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
BUILD FAILED in 8s
1 actionable task: 1 executed