This is a recurrent question, and it seems it has several reasons. I cannot discover mine, even after googling. Several people had answered this question, though.
The problem is that when I try to run an android project with Eclipse and ADB, I get:
Failed to get the adb version: Cannot run program "/extraHD/android/android-sdk-linux/platform-tools/adb":
error=13, Permission denied from '/extraHD/android/android-sdk-linux/platform-tools/adb'
- exists=true
Some data: 1) /extraHD is my second HD, 180GB free, where I have full permissions 2) adb executable has full permission 777 3) If, after 'cd /extraHD/android/android-sdk-linux/platform-tools', I run any of these (no adb process running):
./adb
./adb shell
./adb start-server
./adb kill-server
./adb shell kill you
./adb root
./adb remount
I get the very same answer:
bash: ./adb: Permission denied
And same answer when executing as root! I can create/delete files in that directory, even as a normal user...
Same problem after reinstalling ADB, both through Eclipse and zip file.
Rebooting didn't work either.
I get the same problem with /extraHD/android/android-sdk-linux//tools/emulator.
Tried fsck, reinstalled Eclipse, reinstalled Tools and Platform-tools (adb in particular), reinstalled the APIs. Same thing.
Clues??