Eclipse ADT Unexpected exception 'Cannot run program'
Asked Answered
C

5

8

I have installed ADT Bundle on my laptop. I have ubuntu 13.10 but when I open the ADT I see this message:

Unexpected exception 'Cannot run program "/home/.../Descargas/adt-bundle-linux-x86_64 20131030/sdk/platform-tools/adb": 
error=2, No existe el archivo o el directorio' while attempting to get adb version from '/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb'

[2013-12-25 16:20:14 - adb] Unexpected exception 'Cannot run program "/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb": 
error=2, No existe el archivo o el directorio' while attempting to get adb version from '/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb'

It is my first time installing and developing on android, so, I do not know what to do. Can someone help me?

Campanulaceous answered 25/12, 2013 at 22:34 Comment(0)
B
4

I faced the same problem but after re-extracting the ADT file,this message disappeared.

Working on Ubunto 13.10 , The ADT file name (adt-bundle-linux-x86_64-20131030.zip)

Bushwhack answered 25/2, 2014 at 14:56 Comment(0)
D
31

If you're on ubuntu 13.10 (and possibly other versions >= 12.10), you may need to install

sudo apt-get install lib32ncurses5 lib32stdc++6 zlib1g:i386 libc6-i386

in stead. ia32-libs is no longer available on 13.10

Dramatics answered 19/2, 2014 at 10:6 Comment(3)
This worked for me on 13.10 when I prefixed the command with 'sudo'. thanksArequipa
Quite strange since this is in the x86_64 bundle ... but, it does seem to have resolved the problemTortious
Worked like a charm, thank you. Even for Ubuntu 14.04Laoag
B
4

I faced the same problem but after re-extracting the ADT file,this message disappeared.

Working on Ubunto 13.10 , The ADT file name (adt-bundle-linux-x86_64-20131030.zip)

Bushwhack answered 25/2, 2014 at 14:56 Comment(0)
S
2

I think you have to install: IA32 library

You can test this command: apt-get install ia32-libs

Sides answered 25/12, 2013 at 23:0 Comment(0)
F
1

Its documented in Android's Setting Up an Existing IDE page, click on the Troubleshooting Ubuntu link. For Ubuntu 13.10 (Saucy Salamander) and newer you need to add these packages:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
Fargone answered 6/5, 2014 at 3:3 Comment(0)
P
1

I am using Ubuntu 14.04 LTS 64-bit and the following code works for me:

sudo apt-get install lib32z1 lib32z1-dev
Personal answered 17/3, 2015 at 6:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.