Sideloading

Note that your app will not appear in the ClassVR launcher if installed without using the ClassVR Portal. See instructions here to install via ClassVR Portal -Using ClassVR Portal

ClassVR headsets have developer mode and USB debugging enabled by default, which means you can sideload APKs using a USB-C data cable. This can be very useful during development and there are many ways to do this, options include:

  1. Software such as SideQuest and APK-Info

Using ADB

These instructions assume you have ADB available on your PATH

  1. Open a terminal and change to the directory your APK is stored in

  2. Run adb install -g <apk-name> to install your APK to the headset

    1. The -g flag grants all permissions required by the manifest

  3. Run adb shell am start -n <package-name>/<activity-name> to run the app

    1. <package-name> is the name you would have configured, and usually takes the form of a reverse domain name (e.g. com.avantis.example)

    2. <activity-name> varies depending on how the APK was built. For Unity apps it's either com.unity3d.player.UnityPlayerActivity or com.unity3d.player.UnityPlayerGameActivity (usually the former)

Last updated