Fedora命令行使用android sdk安装eclipse

发布于 2024-11-07 10:11:18 字数 1661 浏览 4 评论 0原文

我是一个新的 Fedora 用户(之前一直使用 ubuntu),我正在尝试下载 eclipse。不幸的是,“sudo yum install eclipse”返回“no package eclipse available”。我认为这意味着我缺少正确的存储库,但我似乎找不到正确的存储库/如何将其添加到此版本的存储库列表中。我的 Fedora 版本是基于 centos5 的,我当前的存储库列表如下:

$ yum repolist
Loaded plugins: fastestmirror, security
repo id                 repo name                                         status
amzn                    amzn-v0.9-Base                                     2,041
rpmforge                RHEL 2010.11 - RPMforge.net - dag                 10,733
repolist: 12,774

我做这一切只是为了能够从命令行构建 Android 应用程序。据我了解,运行tools/android update sdk需要eclipse(因为它目前给我一个错误,抱怨缺少eclipse)也就是说,如果有办法解决的话,我很高兴不安装eclipse。

我从 /tools/android update sdk 收到的错误是:

No command line parameters provided, launching UI.
See 'android --help' for operations from the command line.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3550 or swt-pi-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.gtk.OS.<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:297)
at com.android.sdkmanager.Main.doAction(Main.java:265)
at com.android.sdkmanager.Main.run(Main.java:99)
at com.android.sdkmanager.Main.main(Main.java:88)

提前感谢任何人提供的任何输入!

问候

阿凡达

I am a new Fedora user (having previously always used ubuntu), and I am trying to download eclipse. Unfortunately, "sudo yum install eclipse" is returning "no package eclipse available". I assume this means that I am missing the correct repo, but I can't seem to find the right one / how to add it to my repo list for this version. My version of fedora is centos5 based, and my current repo list is the following:

$ yum repolist
Loaded plugins: fastestmirror, security
repo id                 repo name                                         status
amzn                    amzn-v0.9-Base                                     2,041
rpmforge                RHEL 2010.11 - RPMforge.net - dag                 10,733
repolist: 12,774

I am doing all of this just for the sake of being able to build android applications from the command line. As far as I understand, running tools/android update sdk requires eclipse (since it is currently giving me an error complaining that eclipse is missing) That said, I am perfectly happy to not install eclipse, if there is a way around it.

The error I am getting from /tools/android update sdk is:

No command line parameters provided, launching UI.
See 'android --help' for operations from the command line.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3550 or swt-pi-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.gtk.OS.<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:297)
at com.android.sdkmanager.Main.doAction(Main.java:265)
at com.android.sdkmanager.Main.run(Main.java:99)
at com.android.sdkmanager.Main.main(Main.java:88)

Thanks in advance for any input anyone has!

Regards

Avtar

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

墨洒年华 2024-11-14 10:11:18

从这里下载 Eclipse:

http://www.eclipse.org/downloads

您将获得比来自 Linux 存储库。

Download Eclipse from here:

http://www.eclipse.org/downloads

You will get a fresher version than from Linux repo.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文