DEV Community

loading...
Cover image for Painless Android app debugging on Chrome OS devices

Painless Android app debugging on Chrome OS devices

tkuenneth profile image Thomas Kuenneth ・1 min read

There have been countless articles about debugging an Android app on a Chrome OS device, so you will probably be asking why bother with yet another one. In this very short piece I present the fistful steps to deploy and debug an app on my Lenovo Duet.

First you need to activate Linux Beta and ADB Debugging. Here is how the settings look like once this has been done:

Enable Linux Beta and ADB Debugging

This of course is done once. The remaining steps need to be executed each time you want to debug an Android app. First, please obtain the ip address of your Chrome OS device. To do so, open the Chrome Shell by pressing alt strg t and then type network_diag --dhcp.

The Chrome OS Shell

You want the Leased address, in my example 192.168.178.29. Pass that address to adb connect on your developer machine. After that you will see your device in Android Studio.

Alt Text

Please note that you may need to grant permission to connect on the Chrome OS device, just like you would need to on an Android device.

Discussion (0)

pic
Editor guide