Android Community Forums - View Single Post - How to Install Apps using ADB
View Single Post
  #8  
Old 05-24-2009, 02:23 AM
wddglr's Avatar
wddglr wddglr is offline
wddglr is discovering the mysteries of the Blue LED Mode...
Smoke signaler
 
Join Date: Feb 2009
Location: Capistrano Park, Texas
Posts: 3
wddglr is on a distinguished road
Send a message via AIM to wddglr
Lightbulb Re: How to Install Apps using ADB

Quote:
Originally Posted by jisnut View Post
I hope someone out there can help me. I just bought my G1 yesterday and I'm very excited about developing on Android. I did the simple Hello World app in Eclipse and tested it in the emulator ...all good.

So then I followed the steps listed above exactly for Ubuntu adding udev rules as prescribed for the Gutsy/Hardy Ubuntu release (suspecting those are the most recent) even though I have the very latest Jaunty release of Ubuntu.

Anyway, so I connect my phone with the USB cable. The phone notices and links up. I can mount my SD card in it as a drive and access it from my desktop so that all works...

I'm all smiles until I issue the "adb devices" command and all I see is my emulator.

/usr/bin/eclipse/android/v1.5/tools$ adb devices
List of devices attached
emulator-5554 device

I've unplugged the phone and plugged it back in several times ...no new adb devices show up.

I've tried a few other suggestions I've found on other sites:
- I've restarted the udev daemon like so: sudo /etc/init.d/udev restart
- I've listed the connected usb devices with "lsusb" and my phone shows up as:
Bus 002 Device 009: ID 0bb4:0c02 High Tech Computer Corp.
- Reset adb from the Devices view inside Eclipse.
Then all I get in the console are these errors:
[2009-05-19 00:44:03 - DeviceMonitor]Adb connection Error:EOF
[2009-05-19 00:44:03 - DeviceMonitor]Connection attempts: 1

I see the directions you've listed above are the same official directions listed here: http://developer.android.com/guide/d...tml#setting-up

Please someone tell me the Jaunty version of Ubuntu is why I'm having problems I don't want to have to go back to an earlier version of Ubuntu. Surely someone knows how I'd add appropriate rules for a Jaunty version of Ubuntu? It appears the only difference between the Dapper rules and the Gutsy/Hardy rules is the name of the subsystem and as far as I can tell this 'usb' subsystem name hasn't changed in Jaunty.

Thanks,
Justin

I've got the fix for you brother

Though the website tells you this:
Quote:
1. Login as root and create this file: /etc/udev/rules.d/50-
android.rules.
For Gusty/Hardy, edit the file to read:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

For Dapper, edit the file to read:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
2. Now execute:
chmod a+rx /etc/udev/rules.d/50-android.rules
rename the file to "51-android.rules" by going into Nautilus with root:
Code:
gksu nautilus
and make sure there is no trace of a 50-android.rules by viewing hidden files using Ctrl+H

then reboot your machine

i hope this helps

EDIT: This info should be added to the main post.

Found in Google Groups thanks to JBQ
http://groups.google.com/group/andro...3488c601243686

Last edited by wddglr; 05-24-2009 at 02:27 AM.
Reply With Quote