
TIP: to uninstall an app, use adb uninstall *package name*. This process seems cumbersome, and it kinda is, but once you have everything setup, all you really need to do is run adb install (or adb install -r if you are updating an existing app) and you’re done. On Windows, if you’ve placed the apk file on your desktop, you can use the path %USERPROFILE%\Desktop\Īdb install -r %USERPROFILE%\Desktop\your-filename.apk apk in the Terminal window to find out the correct file path.

For Oculus devices, put your headset on and give permission.

If you see a device ID show up in the output with “unauthorized” behind it, enable ‘Developer Mode’ and “USB Debugging’ on your device.If you don’t see any devices listed in the output, turn off your device, disconnect the USB, power your device back on, reconnect the USB and then run the command again.Wear your VR headset and confirm if a question is shown to allow the connection.Connect your VR device to your computer using a USB cable.* Alternatively you could also install Android Platform Tools from the Android website, but then you might have to use the full path to the adb executable in the command line instead INSTALL AN APK FILEĪfter you successfully installed ADB, you are now ready to install your APKs. Test if installation succeeded by typing the following in your Terminal:.Install Android Platform Tools, which contains ADB, using Homebrew* by typing the following command in your Terminal:.Install Homebrew by typing the following command into the Terminal window, press ENTER to execute the command:.Open Terminal (click the search icon in the top-right corner of your Mac, type “terminal”, and press ENTER).TIP: if you get a message along the lines of “adb is not a recognized command”, then cd to the installation folder of ADB (C:\Users\ YOURUSERNAME\AppData\Local\Android\sdk\platform-tools), after which you can use adb.exe instead of adb in your commands In the Command Prompt, type the following to test if installation was successful:.Go to Start Menu, search for CMD, right-click and open as Administrator.


ADB (Android Debugging Bridge) can be used to execute commands on your VR device.
