Native SDK Getting Started¶
In this section, you will learn how to build your first application: “HelloVR”.
Contents |
Set up your development environment¶
The first step is to set up the development environment on your PC.
- Download, install and launch your Android™ Studio: https://developer.android.com/studio
- In Android Studio, go to Configure > Project Defaults > Project Structure to set up your SDK location, JDK location and NDK location in Android™ Studio.
Download Wave SDK¶
You can download the Wave SDK from here.
SDK Folder Layout:
- repo: SDK repository.
- samples: native sample source.
- tools: SDK tool APK.
For more information, refer to SDK/README.md
Build Wave App¶
- Use Android Studio to open the sample project
SDK/samples/wvr_native_hellovr
. - Modify
app/build.gradle
to comply with the Android™ SDK and build tool version of your Android Studio and then click File > Sync Project with Gradle Files.
Note
- Please check your Wave VR version and android targetSdkVersion on Wave VR Version List
- Make project: Build > Make Project.
- Build apk: Build > Build APK(s).
- After a successful build, you will see Event Log “APK(s) generated successfully”. Click locate to get the sample APK.