Sunday, May 30, 2010

[android-developers] Re: Why ADB and DDMS cannot recognize my phone in Ubuntu?

Sorry that maybe I didn't describe my problem clear enough.

I follow the instructions in the below link:
http://coffeecokeandcode.blogspot.com/2009/12/android-debug-bridge-on-ubuntu-910.html

1. Find the VID and PID using lsusb
2. Add them into /etc/udev/rules.d/51.android.rules, and reload the
udev service
(I tried both "sudo service udev reload" and "sudo service udev
restart")
3. Restart the adb server in super user mode.
(sudo ./adb kill-server , sudo ./adb start-server under android-sdk
folder)

The adb shell commands works great actually, only "adb devices" shows
the phone name with ????????????,
and I cannot debug with ddms because it cannot find the device.
(But adb logcat works fine, I don't know what makes the difference
between ddms and adb logcat....)

P.S. I'm sure that I use stand alone ddms without Eclipse.


On 5月30日, 下午2時36分, asicwizard <asicwiz...@gmail.com> wrote:
> Make sure that you have USB debugging enabled on your phone:
>
> Settings -> Applications -> Development -> USB Debugging
>
> Then use /usr/sbin/lsusb to see the VID and PID of your device
>
> I don't know the VID and PID of the Acer Liquid.
> But be sure that what you find with lsusb matches your UDEV rules.
>
> -George
>
> On May 26, 9:36 pm, Ichi <ukas...@gmail.com> wrote:
>
>
>
> > Hi,
> > I am trying to connect my Acer Liquid with ADB and DDMS under Ubuntu
> > 10.04
> > I read some posts and already add the VID (0502) and PID(3202) in /etc/
> > udev/rules.d/51-android.rules,
> > but adb devices still list my phone's name as question mark
> > (????????????).
>
> > When I try DDMS, I got the following error:
> > E/DDMS: device (????????????) request rejected: device not found
>
> > Is there something I missed?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate