googlevr/gvr-android-sdk


Google VR SDK for Android http://developers.google.com/vr/android/

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.googlevr:gvr-android-sdk:v1.0.0'
	}
	dependencies {
		implementation("com.github.googlevr:gvr-android-sdk:v1.0.0")
	}
	<dependency>
	    <groupId>com.github.googlevr</groupId>
	    <artifactId>gvr-android-sdk</artifactId>
	    <version>v1.0.0</version>
	</dependency>

                            
    libraryDependencies += "com.github.googlevr" % "gvr-android-sdk" % "v1.0.0"
        
        

                            
    :dependencies [[com.github.googlevr/gvr-android-sdk "v1.0.0"]]
        
        

Readme


November 6, 2019 update

There's a new open source Cardboard SDK for iOS and Android NDK that offers a streamlined API, improved device compatibility, and built-in viewer profile QR code scanning.

October 15, 2019 update

The Daydream View VR headset is no longer available for purchase. However, you can continue to use this SDK to update and distribute your apps to the Google Play Store, and make them available to users in the Daydream app.

Google VR SDK for Android

Enables Daydream and Cardboard app development on Android.

Copyright (c) 2018 Google Inc.

See https://developers.google.com/terms/ for the Google APIs Terms of Service which cover this SDK. The code in samples is covered by the Apache 2 LICENSE file in that directory, and the files in assets are covered by Creative Commons LICENSE file in that directory.

For updates, known issues, and upgrade instructions, see the release-notes.

For first time users, see the Get Started with Google VR on Android guide.

SDK releases are available from the releases page.

Please note, we do not accept pull requests.