Unexpected exception 'Cannot run program '的解决

最近重新升级的了ubuntu系统到14.04,eclipse重新打开后竟然之前的project都是红色叉叉,看了一下错误是以Unexpected exception ‘Cannot run program 一长串错误,大概就是说sdk的位置的版本错误了。

因为我的是64位的系统,查了一下资料需要安装32位的lib

解决方法如下:

sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386

sudo apt-get install lib32z1

之后重新启动eclipse,clean一下project,一切都解决了

Unexpected exception 'Cannot run program '的解决

时间: 2024-08-27 11:47:21

Unexpected exception 'Cannot run program '的解决的相关文章

64位linux运行ADT出错——“Unexpected exception 'Cannot run program'”

今天在ubuntu 14.04.1上安装了Android development tools,直接在官网下载的,解压后打开Eclipse出现了Cannot run program的错误,网上一搜发现是64位系统的问题,在网上overflow找到了如下解决方法: Before ubuntu 12.04, you must install ia32-libs sudo apt-get install ia32-libs 较新版本的ubuntu需使用下面这条语句: If you're on ubunt

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

MyEclipse Servers视窗出现“Could not create the view: An unexpected exception was thrown”错误的解决办法

打开myeclipse所在的wordspace文件夹,在下面子文件夹 .metadata\.plugins\org.eclipse.core.runtime\.settings删除 com.genuitec.eclipse.ast.deploy.core.prefs 然后重启myeclipse即可

错误 '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 t

MyEclipse Servers视窗出现“Could not create the view: An unexpected exception was thrown”错误解决办法

MyEclipse 打开后有时候莫名的在server窗口里抛出“Could not create the view: An unexpected exception was thrown”错误,解决办法: 打开myeclipse所在的wordspace文件夹,在下面子文件夹 .metadata\.plugins\org.eclipse.core.runtime\.settings 删除 com.genuitec.eclipse.ast.deploy.core.prefs 重启myeclipse即

MyEclipse server窗口 Could not create the view: An unexpected exception was thrown 错误解决

MyEclipse 打开后有时候莫名的在server窗口里抛出“Could not create the view: An unexpected exception was thrown”错误,解决办法: 打开myeclipse所在的wordspace文件夹,在下面子文件夹 .metadata\.plugins\org.eclipse.core.runtime\.settings 删除 com.genuitec.eclipse.ast.deploy.core.prefs 重启myeclipse即

Hadoop在Windows系统的Eclipse下运行Cannot run program "chmod": CreateProcess error=2解决办法

运行hadoop程序报错如下: Exception in thread "main" java.io.IOException: Cannot run program "chmod": CreateProcess error=2 解决方法: 只需要把cygwin的bin目录加到windows的用户环境变量中就可以了,然后需要重启eclipse

解决方案--java执行cmd命令ProcessBuilder--出错Exception in thread "main" java.io.IOException: Cannot run program "dir d:\": CreateProcess error=2(xjl456852原创)

当我尝试在java中通过ProcessBuilder运行window的cmd命令时出现错误: public static void main(String [] args) throws IOException { ProcessBuilder builder = new ProcessBuilder(); Process process = builder.command("dir d:\\").start(); InputStream inputStream = process.g

Eclipse编译时Cannot run program "make":?????

在确定环境变量配置正确(命令行运行make成功)的情况下,如果使用Eclipse编译C程序,控制台报告Cannot run program "make":?????"?错误,那么很有可能的错误是org.eclipse.cdt.core.win32_5.2.0.201202111925 (Eclipse的plugin目录下)出现了错误.可以通过替换或者重新安装CDT来解决这个问题. 参考:http://bbs.csdn.net/topics/380228213 Error: C