If you develop Android apps on your Chromebook with Linux, you can test your apps directly on your Chromebook with Android Debug Bridge (ADB).
Important: If you use your Chromebook at work or school, you might not be able to set up or test apps with Android Debug Bridge (ADB). For more information, contact your administrator.
Set up Android Debug Bridge (ADB)
Important: Once you turn on ADB, it’s available to all accounts on your Chromebook. To turn it off, you must factory reset (Powerwash) your Chromebook.
- Make sure that Linux is set up.
- Make sure that your device supports Android apps.
- On your Chromebook, select the time.
- Select Settings Advanced Developers.
- On the left panel, select Linux Develop Android apps.
- Turn on Enable ADB debugging.
- Select Restart. Your Chromebook will close any open apps.
- Select Confirm and sign in.
Tip: When you run your app in Android Studio, select your Chromebook, if prompted.
Turn off ADB
Important: When you turn off ADB, your Chromebook will factory reset (Powerwash). All your stored data will be lost.
- On your Chromebook, select the time.
- Select Settings Advanced Developers.
- On the left panel, select Linux Develop Android apps.
- Turn off Enable ADB debugging.
- Select Confirm. Your Chromebook will restart.
- Select Powerwash Continue. Your Chromebook will reset to factory settings.
- Follow the steps on the screen and sign in with your Google Account.