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".
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.
I did this to rules.d also, which is for Samsung:
SUBSYSTEM=="usb", ATTR{idVendor}=="04E8", MODE="0666", GROUP="plugdev"
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.
And then when I type ./adb devices it says:
-bash: ./adb: No such file or directory
Any Idea?? Thanks.