Update
Having done some more experiments, I have to completely reformulate my question, since my terminal deceived me. It just didn't show an error message when I released sudo./adb .
If I connect to the ANDOID_SDK / platform-tools directory and run ./adb , I get:
command not found: ./adb
Here's the output of ls -l adb in the same directory:
-rwxrwxr-x 1 myuser myuser 159620 2011-12-20 19:30 adb
The run that adb gives me:
./adb
The same thing happens for all other binary executables in this directory, such as aapt, aidl, dexdump, etc.
I could just imagine that this has something to do with me trying to run it on 64-bit Ubuntu, but the ELF header or something like that is not recognized. However, the android tool in the ANDOID_SDK / tools works fine (except that adb failed to execute after loading new packages).
Really weird ...
Original question
I downloaded the latest version of the Android SDK. If I try to run adb as a regular user, I get the command "not found". I have to run it as "sudo./adb" and it works. Why is this and how can I fix it? I am running Ubuntu 64 11.10.
I used the SDK for older versions of Ubuntu, and there I could run it as a regular user without any problems. Any ideas?
source share