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?

asked Dec 25 '13 at 22:34

MichelAyala
76129
 

5 Answers

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)

answered Feb 25 '14 at 14:56

 
1  
This is weird, but worked for me too! Thank you =)
– 
user3153542
Aug 13 '14 at 19:06

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

answered Feb 19 '14 at 10:06

Ivo van der Wijk
8,64312440
 
    
This worked for me on 13.10 when I prefixed the command with 'sudo'. thanks
– 
Stevko
Feb 21 '14 at 20:49
    
apt-get always has to be done as root, of course :)
– 
Ivo van der Wijk
Feb 22 '14 at 8:20
1  
this one works without any problem. thanks
– 
Vishnudev K
May 5 '14 at 20:45
    
I am on 14.04 and worked well. Thanks :)
– 
Kunal
Jun 26 '14 at 8:22
1  
Thank you - this worked for me just now
– 
mixedmath
Sep 1 '14 at 5:56

I think you have to install: IA32 library

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

answered Dec 25 '13 at 23:00

DARDAR SAAD
12318
 

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
answered May 6 '14 at 3:03
rahmad
436
 

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

sudo apt-get install lib32z1 lib32z1-dev

answered Mar 17 at 6:17

 

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'的更多相关文章

  1. Unexpected exception 'Cannot run program '的解决

    最近重新升级的了ubuntu系统到14.04,eclipse重新打开后竟然之前的project都是红色叉叉,看了一下错误是以Unexpected exception 'Cannot run progr ...

  2. 错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory

    转 Linux下Android SDK中adb找不到的解决方案 2013年04月22日 20:41:48 阅读数:7621 在Linux平台下配置Android SDK开发环境过程中,Eclipse会 ...

  3. 解决Android Studio在Ubuntu上出现“sdk/platform-tools/adb: error=2, No such file or directory”的方法

    转载至http://blog.163.com/china_uv/blog/static/11713726720136931132385/ 刚安装Ubuntu14.5时运行Android Studio可 ...

  4. 【异常】Cannot run program "git" (in directory "/mnt/software/azkaban-3.79.0"): error=2, No such file or directory

    1 安装azkaban异常 cloudera-scm@cdh4 azkaban-3.79.0]$ ./gradlew build -x test Parallel execution with con ...

  5. 错 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory

    为linux平台搭建android开发环境的人,您可能会遇到问题,如下面有: 64位置linux安装64位置eclipse和64位置jdk开场后eclipse错误后 ""Canno ...

  6. Android -Cannot run program "XXX/sdk/tools/emulator": error=2, No such file or directory

    I have installed android SDK and eclipse successfully on ubuntu 14.04. However,now it's not running. ...

  7. java.io.IOException: Cannot run program "/opt/jdk1.8.0_191/bin/java" (in directory "/var/lib/jenkins/workspace/xinguan"): error=2, No such file or directory

    测试jenkins构建,报错如下 Parsing POMs Established TCP socket on 44463 [xinguan] $ /opt/jdk1.8.0_191/bin/java ...

  8. troubleshooting-执行导数shell脚本抛异常error=2, No such file or directory

    Cannot run program "order_log.sh" (in directory "/data/yarn/nm/usercache/chenweidong/ ...

  9. HUE Oozie : error=2, No such file or directory采坑记录

    HUE Oozie : error=2, No such file or directory采坑记录 1.错误详情 一直都是同一种方式在hue上定义workflow,不知为啥 今天定义的就是不行... ...

随机推荐

  1. hdu_2141_Can you find it?(二分)

    题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=2141 题意:叫你找三个数,使得这三个数的值为X,如果找得到就输出YES否则输出NO,注意两个32位数相 ...

  2. viewpager处理(三):让viewpager不预加载下一页

    有时候viewpager加载页面的时候,我们发现页面的数据量很大,预加载的话会消耗性能,为了节省用户流量和手机性能,所以我们想让viewpager不自动预加载下一页,怎么实现呢? viewpager预 ...

  3. MySQL数据备份和恢复

    1.数据备份 mysqldump -uroot -p databasename > file.sql 2.数据还原 mysql -u root -p databasename < file ...

  4. QML中的ExclusiveGroup

    Exclusive这个单词在高中应该都学过,是互斥的意思.如果你没有上过或者还没有上到高中,那你非常棒,计算机领域的大师很多都是这么起步的. ExclusiveGroup顾名思义就是互斥分组,效果很明 ...

  5. gre tunnel

    http://searchenterprisewan.techtarget.com/tip/GRE-tunnel-vs-IPsec-tunnel-What-is-the-difference Enca ...

  6. 转 : ANT 调用sqlplus 客户端

    Jenkins安装与配置  (版本控制) 1 用ant脚本执行sql语句现在我需要写一个ant脚本来实现项目安装,情况是这样的,客户现在运行的版本可能是2.0,安装目录里可能有REL_1_0,REL_ ...

  7. C++ concepts: Compare

    The concept Compare is a set of requirements expected by some of the standard library facilities fro ...

  8. SQL Server 2008 2005删除或压缩数据库日志的方法

    由于数据库日志增长被设置为“无限制”,所以时间一长日志文件必然会很大,一个400G的数据库居然有600G的LOG文件,严重占用了磁盘空间.由于主要是做OLAP,所以数据库本身不会有大变动,所以日志也就 ...

  9. isinstance使用方法

    #!/usr/bin/python2.7    def displayNumType(num):    print num, 'is',    if isinstance(num,(int, long ...

  10. php实现echo json_encode正确显示汉字

    <?php header('Content-type: text/html; charset=utf-8'); /* function showmessage($msg = '', $redir ...