Unexpected exception ' cannot run program ... error=2, No such file or directory ' ... adb '

Source: Internet
Author: User

Eclipse ADT Unexpected exception ' cannot run program '
Up vote 8 down vote favorite4

I have the installed ADT Bundle on my laptop. I have Ubuntu 13.10 if 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. Can someone help me?

Android Linux Eclipse ADT ubuntu-13.10
ShareImprove this question Edited Dec ' at 23:03 Gareginsargsyan
1,0082
Asked Dec ' at 22:34 Michelayala
129
Add a Comment

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)

Feb 25 ' 14 At 14:56
614 TD class= "Post-signature" align= "right" > answered Abdo Kamal
shareimprove this answer
1
This is weird, but worked for me too! Thank you =) – user3153542 in 19:06
Add a Comment

Up vote to vote

If you're on Ubuntu 13.10 (and possibly other versions >= 12.10), your 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

ShareImprove this answer Edited ' at 8:21
answered "At 10:06 Ivo van der Wijk
8,6431
This worked for me on 13.10 if I prefixed the command with ' sudo '. Thanks–stevko "at 20:49
Apt-get always have to is done as root, the of course:) –ivo van der Wijk Feb at 8:20
1  
this One works Witho UT any problem. thanks–  Vishnudev K may 5" at 20:45
 &NB Sp  
i am on 14.04 and worked well. Thanks:) –  kunal jun" at 8:22
1
Thank You-this worked for me just now–mixedmath Sep 1 ' + at 5:56
Show2More comments

Up vote 2 down vote

I Think to Install:ia32 Library

You can test the This command:apt-get install ia32-libs

ShareImprove this answer answered Dec ' at 23:00 Dardar SAAD
12318
Add a Comment

up vote 1 down vote

Its documented in Android ' s Setting up a Existing IDE page, click on the troubleshooting Ubuntu Link. For Ubuntu 13.10 (saucy salamander) and newer-need to add these packages:

  sudo dpkg--add-architecture i
  386sudo apt-get updatesudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386  
answered May 6 ' + at 3:03 Rahmad
436
shareimprove this answer
Add a Comment

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

ShareImprove this answer answered Mar at 6:17 Anand Mishra
11
Add a Comment

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

Unexpected exception ' cannot run program ... error=2, No such file or directory ' ... adb '

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.