Samsung / GearVRf

The GearVR framework(GearVRf) is an Open Source VR rendering library for application development on VR-supported Android devices.
http://www.gearvrf.org
Apache License 2.0
407 stars 217 forks source link

Missing 'MixedReality' components in GearVRf-Demos #1964

Closed SteveGreatApe closed 6 years ago

SteveGreatApe commented 6 years ago

Hi, I used to be able to build the demos in GearVRF-Demos okay, but now when I try I get the following error. Am I missing a trick, or is there something wrong with the demo build at the moment?

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':gvr-arcore:debugCompileClasspath'.
> Could not find :MixedReality-debug:.
  Searched in the following locations:
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/m2repository//MixedReality-debug//MixedReality-debug-.pom
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/m2repository//MixedReality-debug//MixedReality-debug-.aar
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/google/m2repository//MixedReality-debug//MixedReality-debug-.pom
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/google/m2repository//MixedReality-debug//MixedReality-debug-.aar
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/android/m2repository//MixedReality-debug//MixedReality-debug-.pom
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/android/m2repository//MixedReality-debug//MixedReality-debug-.aar
      https://dl.google.com/dl/android/maven2//MixedReality-debug//MixedReality-debug-.pom
      https://dl.google.com/dl/android/maven2//MixedReality-debug//MixedReality-debug-.aar
      https://jcenter.bintray.com//MixedReality-debug//MixedReality-debug-.pom
      https://jcenter.bintray.com//MixedReality-debug//MixedReality-debug-.aar
      https://oss.sonatype.org/content/repositories/snapshots//MixedReality-debug//MixedReality-debug-.pom
      https://oss.sonatype.org/content/repositories/snapshots//MixedReality-debug//MixedReality-debug-.aar
      http://google.bintray.com/googlevr//MixedReality-debug//MixedReality-debug-.pom
      http://google.bintray.com/googlevr//MixedReality-debug//MixedReality-debug-.aar
      file:/C:/AndroidDev/GearVRF/GearVRf-Demos/GearVRf/GVRf/gearvrf-libs/MixedReality-debug-.aar
      file:/C:/AndroidDev/GearVRF/GearVRf-Demos/GearVRf/GVRf/gearvrf-libs/MixedReality-debug.aar
      file:/C:/AndroidDev/GearVRF/GearVRf/GVRf/gearvrf-libs/MixedReality-debug-.aar
      file:/C:/AndroidDev/GearVRF/GearVRf/GVRf/gearvrf-libs/MixedReality-debug.aar
      file:/C:/AndroidDev/GearVRF/GVRf/gearvrf-libs/MixedReality-debug-.aar
      file:/C:/AndroidDev/GearVRF/GVRf/gearvrf-libs/MixedReality-debug.aar
  Required by:
      project :gvr-arcore
SteveGreatApe commented 6 years ago

The above problem was without useLocalDependencies set to true. I've set that to true now and made sure I'd built the MixedReality part of extensions and the build gets past that problem. Presumably there's still a relevant issue for people not using local dependencies.

I'm now getting 'script-debug' missing, but I think that's because due to the problem I hit in #1962 I'm stuck on a release before the "GVRf Javascript Extension" commit was made.

Could not resolve all files for configuration ':gvr-javascript:debugCompileClasspath'.
> Could not find :script-debug:.
  Searched in the following locations:
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/m2repository//script-debug//script-debug-.pom
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/m2repository//script-debug//script-debug-.aar
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/google/m2repository//script-debug//script-debug-.pom
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/google/m2repository//script-debug//script-debug-.aar
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/android/m2repository//script-debug//script-debug-.pom
      file:/C:/Users/Steve/AppData/Local/Android/Sdk/extras/android/m2repository//script-debug//script-debug-.aar
      https://dl.google.com/dl/android/maven2//script-debug//script-debug-.pom
      https://dl.google.com/dl/android/maven2//script-debug//script-debug-.aar
      https://jcenter.bintray.com//script-debug//script-debug-.pom
      https://jcenter.bintray.com//script-debug//script-debug-.aar
      https://oss.sonatype.org/content/repositories/snapshots//script-debug//script-debug-.pom
      https://oss.sonatype.org/content/repositories/snapshots//script-debug//script-debug-.aar
      http://google.bintray.com/googlevr//script-debug//script-debug-.pom
      http://google.bintray.com/googlevr//script-debug//script-debug-.aar
      file:/C:/AndroidDev/GearVRF/GearVRf-Demos/GearVRf/GVRf/gearvrf-libs/script-debug-.aar
      file:/C:/AndroidDev/GearVRF/GearVRf-Demos/GearVRf/GVRf/gearvrf-libs/script-debug.aar
      file:/C:/AndroidDev/GearVRF/GearVRf/GVRf/gearvrf-libs/script-debug-.aar
      file:/C:/AndroidDev/GearVRF/GearVRf/GVRf/gearvrf-libs/script-debug.aar
      file:/C:/AndroidDev/GearVRF/GVRf/gearvrf-libs/script-debug-.aar
      file:/C:/AndroidDev/GearVRF/GVRf/gearvrf-libs/script-debug.aar
  Required by:
      project :gvr-javascript
liaxim commented 6 years ago

@SteveGreatApe The snapshots have been updated. Everything builds fine now. Thanks for letting us know.

liaxim commented 6 years ago

Planning to close the issue in few days.