This repository was archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing setup info about building for devices
- Loading branch information
1 parent
a3e6668
commit 0233ae2
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,14 @@ You can find us on Twitter [@MozillaReality](https://twitter.com/mozillareality) | |
git clone [email protected]:MozillaReality/FirefoxReality.git | ||
``` | ||
|
||
*Clone the third_party repo* | ||
|
||
If you're developing for the Oculus, Snapdragon VR, or VIVE, you need to clone the repo with third party SDK files. | ||
|
||
```bash | ||
git clone [email protected]:MozillaReality/FirefoxReality-android-third-party.git third_party | ||
``` | ||
|
||
*Fetch Git submodules.* | ||
|
||
You may need to set up [two-factor authentication](https://blog.github.com/2013-09-03-two-factor-authentication/#how-does-it-work-for-command-line-git) for the command line. | ||
|
@@ -45,7 +53,7 @@ The command line version of `gradlew` requires [JDK 8 from Oracle](http://www.or | |
|
||
If you get an error extracting the NDK, you might need to copy the `local.properties file` from the top-level project directory into the `gvr-android-sdk` directory. If this file doesn't exist at the top-level directory either, open the top-level directory in Android Studio, and it should be created. | ||
|
||
*Open the project with [Android Studio](https://developer.android.com/studio/index.html)* then build and run it. Depending on what you already have installed in Android Studio, the build may fail and then may prompt you to install dependencies. Just keep doing as it suggests. | ||
*Open the project with [Android Studio](https://developer.android.com/studio/index.html)* then build and run it. Depending on what you already have installed in Android Studio, the build may fail and then may prompt you to install dependencies. Just keep doing as it suggests. To select the device to build for, go to `Tool Windows > Build Variants` and select a build variant corresponding to your device. | ||
|
||
If you run the APK on an Android device outside of Daydream or Gear VR, it will run in flat mode. To run in VR, put the device into a headset, and run the app from the VR launcher. | ||
|
||
|