错误 '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会提示错误如下:

Unexpected exception ‘Cannot run program "/home/ubuntu/adt/sdk/platform-tools/adb": error=2 No such file or directory‘ while attempting to get adb version from /home/ubuntu/adt/sdk/platform-tools/adb

在/home/ubuntu/adt/sdk/platform-tools目录下执行./adb,则系统提示如下:

bash: ./adb: No such file or directory

遇到这样的错误,是由于当前的Linux为64位版本所导致的,安装ia32-libs即可,运行以下命令:

sudo apt-get install ia32-libs

https://www.cnblogs.com/pengmn/p/6580455.html

https://blog.csdn.net/godwillcry/article/details/41024119

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

原文地址:https://www.cnblogs.com/pengmn/p/9164535.html

时间: 2024-10-28 02:28:40

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

错 '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错误后 ""Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory",这是由于android-sdk得adb仅仅有32位版本号,所以得安装32位得编译软件. 解决的

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

Eclipse ADT Unexpected exception 'Cannot run program' 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/.../Descarg

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 -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/opt/maven-3.6/boot/plexus-classworlds-2.5.2.jar:/opt/maven-3.6/conf/log

CentOS安装软件出现错误:bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

CentOS安装软件出现错误: bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directorygoogle了一把才发现是64位系统中安装了32位程序解决方法:yum install glibc.i686 重新安装以后还有如下类系错误 再继续安装包 error while loading shared libraries: libstdc++.so.6: cannot open

编译Linux内核时出现错误gcc: error: elf_i386: No such file or directory

LD arch/x86/mm/built-in.o AS arch/x86/vdso/vdso32/int80.o VDSO arch/x86/vdso/vdso32-int80.so.dbggcc: error: elf_i386: No such file or directorymake[2]: *** [arch/x86/vdso/vdso32-int80.so.dbg] Error 1make[1]: *** [arch/x86/vdso] Error 2make: *** [arch

QT关于“fatal error: QApplication: No such file or directory“错误解决

建立QT工程时,由于QT4兼容性的问题,出现关于“fatal error: QApplication: No such file or directory“错误 解决办法也很简单:在工程的 .pro file: 添加:QT += core gui widgets 如果还没有用,则 将#include <QApplication>换成#include <QtWidgets/QApplication> 例如: #include <QtWidgets/QApplication>

CDT 错误 Cannot run program &quot;gcc&quot;

Eclipse+CDT 编辑C/C++程序出错误: 出现编译错误: **** Rebuild of configuration Debug for project example **** **** Internal Builder is used for build               ****gcc -O0 -g3 -Wall -c -fmessage-length=0 -osrc\demo.o ..\src\demo.cInternal Builder: Cannot run pr

Ubuntu Cannot run program &quot;../SDK/build-tools/xxx/aapt&quot;: erro = 2 No such file or directory

64位ubuntu Android Studio  Gradle编译时出现如下报错: java.io.IOException: Cannot run program "/home/king/tools/Android/SDK/build-tools/23.0.3/aapt": error=2, 没有那个文件或目录 解决办法: 在64位上需要安装几个32位的兼容库 $ sudo apt-get install -y libc6-i386 lib32stdc++6 lib32gcc1 li

Glassfish Cannot run program &quot;/usr/libexec/StartupItemContext; error=2 , No such file or directory

临时处理办法 http://sohu.io/questions/3833214/jvm-failed-to-start-java-io-ioexception-cannot-run-program-usr-libexec-start Bug 描述 http://stackoverflow.com/questions/24509103/jvm-failed-to-start-java-io-ioexception-cannot-run-program-usr-libexec-start