user818700
user818700

Reputation:

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

I'm running Eclipse 4.2.1 on ubuntu 12.10 and I'm busy installing the Android plugins for Eclipse. So far everything has gone well, I've installed the ADT plugin and all that but now I'm at that stage where (after eclipse has restarted) I have to point Eclipse to the directory I have installed the android SDK to...

The sdk being installed here:

/opt/android-sdk-linux

But I get the following error message pop up:

enter image description here

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

Upvotes: 6

Views: 8535

Answers (4)

Mahdi
Mahdi

Reputation: 6389

if you have 64bit machine you should try answer by @robbin chander:

On Linux you need to install IA32 library Because Linux 64-bit ADT bundle comes with a 32 Bit adb under adt-bundle-linux/sdk/platform-tools/adb ... This is also a problem under other distributions, e.g. Fedora 17

and try this:

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

Upvotes: 0

user818700
user818700

Reputation:

I found the answer, the issue was that I was running a 64bit system (Should've mentioned that). You can find the solution here: Android SDK on a 64-bit linux machine

Upvotes: 7

David C. Sainte-Claire
David C. Sainte-Claire

Reputation: 2481

Did you look in /opt/android-sdk-linux/platform-tools and validate that adb is in there? If you just now downloaded the SDK, recent releases might 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 will start the Android SDK manager and you can download the tools and platform tools (it should the item at the top of the list under the tools folder)

Upvotes: 1

BenjiWiebe
BenjiWiebe

Reputation: 2235

Have you already run android sdk and installed Android platform tools? If so, I don't know what's going on. If you have not done that yet, then that is your problem. (android sdk is the Android SDK manager.)

Upvotes: 0

Related Questions