Wednesday, March 21, 2012

Re: [android-developers] Re: Android adb permision error

FWIW, I remember seeing this with some (not all) of my devices, even
when my UPnP ids were correct.

To fix, I specified my actual user and group to the udev file, like this:

SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", OWNER="kman",
GROUP="kman"

... changing from the usual GROUP="plugdev" (IIRC) in the documentation.

-- K

21 марта 2012 г. 18:14 пользователь Chris Stratton <cs07024@gmail.com> написал:
> Is the content of your udev rules file correct, and will it match the device
> you are connecting? Ie, post the content of your rules file.
>
>
> On Tuesday, March 20, 2012 7:59:49 AM UTC-4, <Hera> wrote:
>>
>> Hello,
>>
>> I have installed the android SDK but I'm getting an error when using a
>> hardware device, executing "./adb device$ I get this error:
>>
>> List of devices attached
>> ???????????? no permissions
>>
>> While if I execute "sudo ./adb device" there is no error:
>>
>> List of devices attached
>> HT019P80XXX device
>>
>> Adb must work for all users (also when eclipse starts it) but It only
>> works as root. The permissions of the related files are:
>>
>> -rwxr-xr-x 1 root root 72 2012-03-20 09:53 /etc/udev/rules.d/51-
>> android.rules
>> -rwxr-xr-x 1 ariadna ariadna 159620 2012-03-19 13:45 adb
>>
>> I have googled and tried different solutions but none off then works
>> on my Ubuntu, any idea?
>>
>> Thank you
>
> --
> 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

--
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

No comments:

Post a Comment