Build Environment Setting

List

Setting up the Build Environment

Make sure:

  • Android Studio is installed.
  • Android API Level 25 or later is used
  • VIVE Wave™ SDK is downloaded.

Project build.gradle

  • Add repository path in the build.gradle project:
buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
        classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven {
            // assign your wavevr local respository
            url "your_SDK_local_path/repo"
        }
    }
}

Module build.gradle

  • Add the dependency in the build.gradle module:
dependencies {
    api 'com.htc.vr.component:wvr.component:+'
}