I wanted to use the Android SDK on my Ubuntu machine, mainly to grab screenshoots but also to play around with it.
I followed the guidelines at this guide, but it did not work. DDM just show garbage as the device and when trying to get a screenshoot it complained with:
54:42 W/ddms: Unable to get frame buffer: device (????????????) request rejected: insufficient permissions for device
After some googling i figured out that I had to hack my udev rules.
I added to /etc/udev/rules.d/51-android.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c87", MODE="0666"
and run reload udev
The idVendor and idProduct was found by running lsusb:
# lsusb Bus 002 Device 011: ID 0bb4:0c87 High Tech Computer Corp.
Now when starting DDM:
And I can take screenshoots:
September 4th, 2010 at 12:33 am
Very nice write-up! The “permission denied” stuff had me baffled too, until I found your post 🙂
March 12th, 2011 at 7:19 pm
[…] (Thanks to the post of it-slav.net) […]