Eclipse ADT Unexpected exception 'Cannot run program'

Unexpected exception

up vote 8 down vote favorite

4




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?


android linux eclipse adt ubuntu-13.10


 

add a comment

shareimprove this question


edited Dec 25 '13 at 23:03



GareginSargsyan1,008218



Dec 25 '13 at 22:34



MichelAyala76129



5 Answers

active oldest votes


up vote 4 down vote accepted


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)


 

add a comment

shareimprove this answer


Feb 25 '14 at 14:56



Abdo Kamal614


Unexpected exception


up vote 31 down vote


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


 

show 2 more comments

shareimprove this answer


edited Feb 22 '14 at 8:21

 




Feb 19 '14 at 10:06



Ivo van der Wijk8,64312440



up vote 2 down vote


I think you have to install: IA32 library

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


 

add a comment

shareimprove this answer


Dec 25 '13 at 23:00



DARDAR SAAD12318



up vote 1 down vote


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


 

add a comment

shareimprove this answer


answered May 6 '14 at 3:03



rahmad436



up vote 0 down vote


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

sudo apt-get install lib32z1 lib32z1-dev


 

add a comment

shareimprove this answer


Mar 17 at 6:17



anand mishra11



 http://stackoverflow.com/questions/20777316/eclipse-adt-unexpected-exception-cannot-run-program