To save the Logcat content to a file, type the following command To stop the logcat, press Control and C at same time. It dumps a log of system messages, including stack traces, when your device throws an error, and messages that you’ve written to the Log class. Use the Logcat command-line tool to help debug your app. To uninstall an app from a connected device: If an app is already installed, and you wish to replace it: If you don't see it, try plugging and unplugging the device from the USB until this message appears in your Focus. If it doesn't show, then look at your device for a message that reads "This computer's RSA fingerprint is not recognized" and gives a toggle box that allows you to choose to allow a connection to your computer. If it doesn't recognize your device it may read "unauthorized". Go to the adb directory and run adbĥ.) Type the command "adb devices" to make sure it is recognizing your device. Plug it back in.)Ĥ.) Go on to the computer. Sometimes the controllers disappear once the device is plugged in. Focus your gaze or use controllers to click on ‘transfer files’ Click allow usb debugging from this computer. Click go back.ģ.) Plug the Focus into the computer. Click go backĢ.) Go to developer options - enable usb debugging.
(NOTE: On a Mac in order to use adb, you must type “./adb” and then the command each time).īefore you begin, ensure that your Focus device is in Developer Mode.ġ.) Tap the Vive Button to pull up the Home Menu.ģ.) Scroll Down to About Device > Scroll down to Build Number > Click on this 7 Times.Ĥ.) You will see a message that reads, "Congratulations You Are Now a Developer!" This step adds a Developer Options field in your More Settings menu.ġ.) On your Focus go to security - enable unknown sources. You can use Terminal from your desktop or from within Android Studio to navigate to and utilize the debug bridge. To sideload apps onto your Focus device, we suggest using Android Debug Bridge (adb) or your favorite command line tool. For more information refer to the Android Debug Bridge User Guide.