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. JavaScript在智能手机上的应用-测试是否支持滑动事件

    ---------------------------- <script type="text/javascript">                        ...

  2. tomcat 高并发配置 与优化

    公司的一个服务器使用Tomcat6默认配置,在后台一阵全点击服务器就报废了,查了一下就要是PERMSIZE默认值过小造成(16-64) TOMCAT_HOME/bin/catalina.sh 添加一行 ...

  3. iOS长按选择

    确实,其实就是一个长按手势 + 图片二维码识别,原生SDK从8.0开始支持 /** *  从照片中直接识别二维码 *  @param qrCodeImage 带二维码的图片 *  @param myQ ...

  4. HDU 5963 博弈

    http://acm.hdu.edu.cn/showproblem.php?pid=5963 题目大意:中文题 思路:看ICPC camp好了,简单易懂:https://async.icpc-camp ...

  5. HDU 5965 三维dp 或 递推

    题意:= =中文题 思路一:比赛时队友想的...然后我赛后想了一下想了个2维dp,但是在转移的时候,貌似出了点小问题...吧?然后就按照队友的思路又写了一遍. 定义dp[i][j][k],表示第i列, ...

  6. C#生成随机汉字

    using System; using System.Text; namespace ConsoleApplication {     class ChineseCode     {          ...

  7. background和background-position相关笔记

    background 可在一个声明中设置background-color,background-image,background-repeat,background-attachment,backgr ...

  8. hiho 1015 KMP

    input 1<=T<=20 string1 1<=strlen(string1)<=1e4 string2 2<=strlen(string2)<=1e6 out ...

  9. ACE_Time_Value

    头文件“Time_Value.h” 为了兼容各个平台的时间特性,ACE Reactor框架提供了ACE_Time_Value类.ACE_Time_Value的关键方法见下图3.2和表3.2.3.3: ...

  10. iOS Learning

    转载自:http://www.cocoachina.com/ios/20150111/10894.html iOS 学习资料整理 2015-01-11 20:20 编辑: suiling 分类:iOS ...