Welcome to It-Slav.Net blog
Peter Andersson
peter@it-slav.net

I've already got a female to worry about. Her name is the Enterprise.
-- Kirk, "The Corbomite Maneuver", stardate 1514.0

 

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:


2 Responses to “Hint: Howto get Android SDK working on Ubuntu”

  1. Joaquim Homrighausen Says:

    Very nice write-up! The “permission denied” stuff had me baffled too, until I found your post 🙂

  2. Herbert Mühlburger's Weblog » Blog Archive » HowTo set up the Android SDK on Ubuntu for HTC Phones Says:

    […] (Thanks to the post of it-slav.net) […]

Leave a Reply

You must be logged in to post a comment.





Book reviews
FreePBX 2.5
Powerful Telephony Solutions






Asterisk 1.6
Build a feature rich telephony system with Asterisk






Learning NAGIOS 3.0





Cacti 0.8 Network Monitoring,
Monitor your network with ease!