adb devices no permissions on ubuntu

Solution Create a file named /tmp/android.rules with the following contents (hex vendor numbers were taken from the vendor list page): SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"SUBSYSTEM=="usb", ATTRS{idVendor}=="0e79", MODE="0666"SUBSYSTEM=="usb", ATTRS{idVendor}=="0502", MODE="0666"SUBSYSTEM=="usb", ATTRS{idVendor}=="0b05", MODE="0666"SUBSYSTEM=="usb", ATTRS{idVendor}=="413c", MODE="0666"SUBSYSTEM=="usb", ATTRS{idVendor}=="0489", MODE="0666"SUBSYSTEM=="usb", ATTRS{idVendor}=="091e", MODE="0666"SUBSYSTEM=="usb",...