问题使用这些工具在Android SDK / Android的可执行推出的Andr​​oid AVM / SDK GUI。 Ubuntu的10.04,i686的 [英] Problem launching android AVM/SDK gui using the tools/android executable in the android SDK. Ubuntu 10.04, i686

查看:119
本文介绍了问题使用这些工具在Android SDK / Android的可执行推出的Andr​​oid AVM / SDK GUI。 Ubuntu的10.04,i686的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我刚安装以及Eclipse 3.5中,Android SDK中对我的i686的Thinkpad T60运行U​​buntu 10.04(清醒)。 (Eclipse的是通过突触安装,即从资源库中一个包。)我安装了Eclipse添加的,一切都在Eclipse的结束似乎罚款。我也把我的用户路径的Andr​​oid的SDK工具目录。现在推出的工具/机器人不带任何参数应该弹出SDK和AVD管理器图形用户界面,而是我得到以下错误:

Hi I just installed the android SDK along with Eclipse 3.5 on my i686 Thinkpad T60 running Ubuntu 10.04 (Lucid). (Eclipse was installed via synaptic, i.e. a package from the repository.) I installed the eclipse add on and everything on the Eclipse end seems fine. I also put the android-sdk tools directory on my user PATH. Now launching tools/android without any arguments is supposed to bring up the SDK and AVD manager GUI, but instead I get the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in swt.library.path, java.library.path or the jar file
    at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
    at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
    at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
    at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
    at com.android.sdkmanager.Main.showMainWindow(Main.java:265)
    at com.android.sdkmanager.Main.doAction(Main.java:249)
    at com.android.sdkmanager.Main.run(Main.java:94)
    at com.android.sdkmanager.Main.main(Main.java:83)

奇怪的是,我绝对已经安装了所有的prerequisites,太阳的Java6-jdk的,和开放式的Java6-jdk的,并试图在它们之间进行切换。另外,如果我看在突触我libswt-GTK-3.5java安装。此外,他当我启动它与Eclipse AVM / SDK管理器启动的罚款。

The strange thing is I definitely have all the prerequisites installed, sun-java6-jdk, and open-java6-jdk and have tried switching between them. Also if I look in synaptic I have libswt-gtk-3.5java installed. Also he AVM/SDK manager launches fine when I launch it with eclipse.

(你也许会奇怪,为什么我不在乎,但我喜欢命令行工作,并考虑使用emacs作为我的IDE而不是Eclipse的。)

(You may wonder why i care, but I like working from the command line, and considering using emacs as my IDE rather than Eclipse.)

如果有人知道我怎么能解决这个问题,请让我知道。

If anyone knows how i can fix this please let me know.

推荐答案

(ubuntu论坛<复制的href="http://ubuntuforums.org/showthread.php?t=1540054">http://ubuntuforums.org/showthread.php?t=1540054)

我有同样的问题,12个月。我发现,这是因为我所作的/ tmp目录NOEXEC只要我做到了可执行文件,我们都很好。

I had the same issue 12 months on. I discovered that it was because I had made the /tmp directory "noexec" as soon as I made it executable, we were fine.

sudo mount -o remount,exec /tmp

希望这可以帮助别人。

Hope this helps someone.

这篇关于问题使用这些工具在Android SDK / Android的可执行推出的Andr​​oid AVM / SDK GUI。 Ubuntu的10.04,i686的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆