Failed to get adb version ... No such file or directory

I am running Eclipse 4.2.1 on ubuntu 12.10 and I am busy installing Android plugins for Eclipse. So far so good, I installed the ADT plugin and all that, but now I'm at the point where (after restarting eclipse) I have to point Eclipse to the directory where I installed the Android SDK ...

This installs sdk:

/ Opt / Android-KFOR-Linux

But the following error message appears:

enter image description here

Any ideas as to why this could happen to anyone? Thanks in advance!

+6
source share
4 answers

I found the answer, the problem is that I was running a 64-bit system (should have mentioned this). You can find the solution here: Android SDK on a 64-bit Linux machine

+7
source

Have you looked in / opt / android-sdk-linux / platform-tools and confirmed that adb is there? If you just downloaded the SDK, the latest versions may not come with all the tools, so you need to run the SDK manager to download the things you need. From / opt / android-sdk-linux / tools you can execute "./android sdk", which launches the Android SDK manager, and you can download the platform tools and tools (this should be the item at the top of the list under the tools folder)

+1
source

Have you already run android sdk and installed the Android platform tools? If so, I do not know what is happening. If you have not already done so, then this is your problem. ( android sdk - Android SDK manager.)

0
source

If you have a 64-bit machine, try @robbin chander's answer:

On Linux, you need to install the IA32 library. Since the 64-bit version of the ADT Linux package comes with 32-bit adb under adt-bundle-linux / sdk / platform-tools / adb ... This is also a problem under other distributions, for example. Fedora 17

and try the following:

 sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 
0
source

All Articles