Setup Hardware Devices Debugging For Android Studio On Ubuntu 15.10

Posted on

This video demo how to setup /etc/udev/rules.d/51-android.rules inward Ubuntu (behind VirtualBox) to enable hardware device debugging inward Android Studio.

The evolution platform is 64-bit Ubuntu-GNOME 15.10 running inward VirtualBox, amongst Android Studio installed with Ubuntu Make (umake).

To enable hardware device debugging inward Ubuntu, y’all accept to create /etc/udev/rules.d/51-android.rules file to add together device IDs for your debugging devices. (refer: Android Developers Document Using Hardware Devices – Setting upwardly a Device for Development)

Create /etc/udev/rules.d/51-android.rules file amongst sudo right, add together the trouble in addition to save:

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" 

where “18d1” is the USB Vendor ID for Google, Nexus vii inward my case.

Run the command:
$ sudo chmod a+r /etc/udev/rules.d/51-android.rules

This video demo how to, behind VirtualBox.