In this step, you build and run your Gear VR app or game.
For other steps in this exercise, see Exercise 3: Connect Two Scenes.
To build and run your application:
- Connect your device to your machine via USB.
- From the Unity menu, select File > Build Settings. Click Build and Run.
TIP: Alternatively, you can click the Build button. This will build an APK file, but will not push the app to your device. This method has some advantages, as the build process is a little quicker. If you have a DropBox account, you can build the APK directly to your DropBox repository. You will have immediate access to the APK on your device, where you can install and run the app.
- From the Build Android dialog box, give your APK a file name and click Save.
- Once Unity has finished building your app, the Insert device dialog box appears on your device. Disconnect your device from your computer, connect it to your Gear VR, and review your scenes.