Ubuntu上运行的adb 11.10结果被拒绝的权限 [英] Running adb on Ubuntu 11.10 results Permission Denied
问题描述
我搜索很多关于这个问题的资源,但他们没有帮助。所以,我跟着这个步骤 http://developer.android.com /guide/developing/device.html#setting-up 后,我试着 ./ ADB设备
,并显示权限被拒绝。
I've searched a lot of resources for this problem but none of them helped. So, I've followed this steps http://developer.android.com/guide/developing/device.html#setting-up and after I tried ./adb devices
, and it shows "Permission Denied".
我是超级用户身份登录,而奇怪的是,在Ubuntu 10.04它运行良好,但现在我升级到11.10,问题出现了。
I'm logged as root, and the weird is that on Ubuntu 10.04 it runs fine, but now I upgraded to 11.10 and the problem shows up.
我这样做也是为了rules.d,这是三星的:
I did this to rules.d also, which is for Samsung:
SUBSYSTEM=="usb", ATTR{idVendor}=="04E8", MODE="0666", GROUP="plugdev"
更新
我这样做,复制了Android SDK文件夹到/ home /用户,并设置权限为亚行+ X,当我输入ls -la ./adb它显示-rwx - X - X
UPDATE I did this, copied the android sdk folder to /home/user and set the permission for adb to +x and when I type ls -la ./adb it shows -rwx--x--x.
,然后当我键入./adb设备这样说的:
And then when I type ./adb devices it says:
-bash:./adb:没有这样的文件或目录
-bash: ./adb: No such file or directory
任何想法?谢谢你。
推荐答案
我的Android SDK中的文件夹复制到/ home /< 用户>,并为问题:
I copied the folder of the android sdk to /home/<user>, and for the problem with:
没有这样的文件或目录
我通过使用安装在IA32-库 apt-get的安装IA32-库
。它基本上是因为一些不兼容的。
I installed the ia32-libs by using apt-get install ia32-libs
. Its basically because of some incompatibility.
感谢。
这篇关于Ubuntu上运行的adb 11.10结果被拒绝的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!