Sideloading
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:
Software such as SideQuest and APK-Info
Using ADB
Open a terminal and change to the directory your APK is stored in
Run
adb install -g <apk-name>to install your APK to the headsetThe
-gflag grants all permissions required by the manifest
Run
adb shell am start -n <package-name>/<activity-name>to run the app<package-name>is the name you would have configured, and usually takes the form of a reverse domain name (e.g.com.avantis.example)<activity-name>varies depending on how the APK was built. For Unity apps it's eithercom.unity3d.player.UnityPlayerActivityorcom.unity3d.player.UnityPlayerGameActivity(usually the former)
Last updated