Fedora 14 上使用 Eclipse 的 Android SDK 问题
我刚刚在我的机器上安装了 Android SDK。我运行的是 Fedora 14(64 位),Android 套件是适用于 Linux 的 r07。我正在运行 Eclipse Indigo。当我尝试链接到 Eclipse 内的 sdk 时出现错误,提示:
无法获取 adb 版本:无法运行程序“/home/naman/workspace/android-sdk-linux/tools/adb”:java.io.IOException:error=2,没有这样的文件或目录
该问题也记录在此处
Linux 上的 Android SDK 问题与 Eclipse Helios
但没有解决方案。
Ubuntu 机器有一个解决方案--
64 位 Linux 计算机上的 Android SDK
有人可以为 Fedora 建议类似的解决方案吗?
I just installed the Android SDK on my machine. I am running Fedora 14 (64 bit) and the Android kit is r07 for Linux. I am running Eclipse Indigo. I get an error when I try to link to the sdk inside Eclipse, saying :
Failed to get the adb version: Cannot run program "/home/naman/workspace/android-sdk-linux/tools/adb": java.io.IOException: error=2, No such file or directory
The problem is also documented here
Problem with Android SDK on Linux with Eclipse Helios
But with no solutions.
A solution is there for Ubuntu machines--
Android SDK on a 64-bit linux machine
Can someone suggest a similar solution maybe for fedora??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我遇到了同样的问题,直到我发现他们已经移动了 adb (然后我自动更新了它)。
看看你是否可以在这里看到它(或者让 Eclipse 在这里尝试):
/home/naman/workspace/android-sdk-linux/platform-tools/adb
另外看看你是否有该文件:
/home/naman/workspace/android-sdk-linux/tools/adb_has_moved.txt
I had the same problem until I figured out that they have moved adb (and then I had updated it automatically).
See if you can see it here (or make Eclipse try here):
/home/naman/workspace/android-sdk-linux/platform-tools/adb
Also see if you have the file:
/home/naman/workspace/android-sdk-linux/tools/adb_has_moved.txt
这就像魔术一样
http://beginlinux。 com/blog/2009/09/installing-32-bit-support-into-64-bit-fedora-11/
虽然安装所有 i686 库,如
http://beginlinux.com/blog/2009/09/installing-32-bit-support-into-64-bit-fedora-11/comment-page-1/#comment-1514 没用。
This worked like magic
http://beginlinux.com/blog/2009/09/installing-32-bit-support-into-64-bit-fedora-11/
though installing all i686 libs as in
http://beginlinux.com/blog/2009/09/installing-32-bit-support-into-64-bit-fedora-11/comment-page-1/#comment-1514 didn't work.
对于 Fedora-16 64 位,我解决了这个问题,如下所示:
安装后,重新启动 Eclipse,Android 包应该加载。
For Fedora-16 64-bit I solved this as follows:
After installing, restart Eclipse and Android packages should load.