Audrey M. Roy

Art, design, Python, JavaScript, and general silliness 
Filed under

ubuntu904

 

How to set up a real G1 Android phone for development on Ubuntu 9.04 (Jaunty Jackalope)

I'm renting a G1 from someone for a few days to test my app.  The Android docs don't mention how to install the G1 on Ubuntu Jaunty (9.04).  What I did to install it:

$ cd /etc/udev/rules.d/
$ nano 51-android.rules

and create a file containing this:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

then:
$ sudo chmod a+rx /etc/udev/rules.d/51-android.rules

Check that it attached:
$ cd /your_android_sdk_path/tools/
$ $ ./adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT94YLC00022    device

After this, I was able to run my app on the real Android via Eclipse.

Filed under  //   Android   programming   Ubuntu 9.04  
Posted by email 

Comments [0]