首页 > 其他分享 >Unexpected exception 'Cannot run program ... error=2, No such file or directory' ... adb&#

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

时间:2023-08-01 16:34:41浏览次数:44  
标签:... exception Unexpected get adt add adb vote

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



标签:...,exception,Unexpected,get,adt,add,adb,vote
From: https://blog.51cto.com/u_5513510/6923892

相关文章

  • 如果让我手写......
    字符串#include<iostream>#include<cstring>classMyString{private:char*m_data;size_tm_length;public:MyString():m_data(nullptr),m_length(0){}MyString(constchar*str){m_length=strlen(str);m_data=......
  • ...扩展运算符
     目录前言导语 代码部分 运行结果前言我是歌谣我有个兄弟巅峰的时候排名c站总榜19叫前端小歌谣曾经我花了三年的时间创作了他现在我要用五年的时间超越他今天又是接近兄弟的一天人生难免坎坷大不了从头再来歌谣的意志是永恒的放弃很容易但是坚持一定很酷导语歌谣歌谣......
  • pytorch-tensor属性统计(norm,max,min...)
    statistics▪norm(范数)▪mean,sum(平均值,求和)▪prod(累乘)▪max,min,argmin,argmax▪kthvalue,topk(第k大)norm(范式)这里面有一范式和二范式。一范式:\[||x||_1=\sum_k|x_k|\]二范式:\[||x||_1=\sqrt{\sum_k{x_k^2}}\]a.norm(k,dim)这个dim,可以不填,不填就是......
  • Caused by: java.lang.ClassNotFoundException: org.springframework.dao.support.Dao
    ​ 这个错误通常发生在缺少相关的依赖库或配置不正确时。根据错误信息,可以看出缺少了org.springframework.dao.support.DaoSupport类的定义。org.springframework.dao.support.DaoSupport是SpringFramework中的一个类,提供了对数据访问对象(DAO)的支持。这个错误通常发生在没有正......
  • Caused by: java.lang.ClassNotFoundException: org.springframework.dao.support.Dao
    ​ 这个错误通常发生在缺少相关的依赖库或配置不正确时。根据错误信息,可以看出缺少了org.springframework.dao.support.DaoSupport类的定义。org.springframework.dao.support.DaoSupport是SpringFramework中的一个类,提供了对数据访问对象(DAO)的支持。这个错误通常发生在没有正......
  • Caused by: java.lang.ClassNotFoundException: org.springframework.dao.support.Dao
     这个错误通常发生在缺少相关的依赖库或配置不正确时。根据错误信息,可以看出缺少了org.springframework.dao.support.DaoSupport类的定义。org.springframework.dao.support.DaoSupport是SpringFramework中的一个类,提供了对数据访问对象(DAO)的支持。这个错误通常发生在没有正确导......
  • Caused by: java.lang.ClassNotFoundException: org.springframework.dao.support.Dao
     这个错误通常发生在缺少相关的依赖库或配置不正确时。根据错误信息,可以看出缺少了org.springframework.dao.support.DaoSupport类的定义。org.springframework.dao.support.DaoSupport是SpringFramework中的一个类,提供了对数据访问对象(DAO)的支持。这个错误通常发生在没有正确导......
  • reactor.core.Exceptions$ErrorCallbackNotImplemented: java.lang.IndexOutOfBoundsE
    生产环境好好的,突然前端请求全部跨域,请求500。gateway报错。reactor.core.Exceptions$ErrorCallbackNotImplemented:java.lang.IndexOutOfBoundsException:Index:0,Size:0。所有的接口都报。原因由于gateway也集成了springboot-admin,开启了应用程序的actuator端点,导致......
  • ./...是什么?
    在Go语言的命令行中,./...是一个特殊的路径模式,它表示当前目录及其所有子目录。这个模式常常用于Go的一些命令,比如gotest,gobuild,goinstall等,以便一次性对当前目录及其所有子目录下的Go文件进行操作。例如,如果你在项目的根目录下运行gotest./...,Go会执行当前目......
  • System.NullReferenceException:“未将对象引用设置到对象的实例。”
     c#中操作的变量都是对象对象则有属性和方法   未将对象引用  设置到  对象的实例就是对实例进行操作属性和方法时出错,也就是说该对象没有这个属性或者方法另外当操作的对象为空时,也会出现该错误。我这里就是操作的对象为空出错。因为我没用写入该字段。......