Linux eclipse中Android插件安装问题
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8629294/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Android plugin install problems in eclipse
提问by Lukap
I am trying to install the ADT Plugin. I go to Help install new software in eclipse and then after selecting the development tool I get this error
我正在尝试安装 ADT 插件。我去帮助在 eclipse 中安装新软件,然后在选择开发工具后我收到这个错误
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Traceview 16.0.1.v201112150204-238534 (com.android.ide.eclipse.traceview.feature.group 16.0.1.v201112150204-238534)
Missing requirement: Android Traceview 16.0.1.v201112150204-238534 (com.android.ide.eclipse.traceview.feature.group 16.0.1.v201112150204-238534) requires 'org.eclipse.ui 3.6.2' but it could not be found
EDIT I have eclipse 3.5.2
编辑我有日食 3.5.2
采纳答案by Lukap
I did not found any solution for this. But instead of using eclipse installed with
我没有找到任何解决方案。但不是使用 eclipse 安装
sudo apt-get install eclipse
sudo apt-get 安装 eclipse
I downloaded it from a web page and I start that (the downloaded) eclipse, and with that version it works just fine
我从网页上下载了它并启动了(下载的)eclipse,并且使用该版本它工作得很好
回答by bschandramohan
There seems to be some version mismatch. Are you using eclipse 3.6.2 or older version?
似乎有些版本不匹配。您使用的是 Eclipse 3.6.2 或更旧版本吗?
http://developer.android.com/sdk/eclipse-adt.htmlmentions that ADT 16.0.1 requires eclipse version 3.6 and higher.
http://developer.android.com/sdk/eclipse-adt.html提到 ADT 16.0.1 需要 Eclipse 3.6 及更高版本。
Also, just check if you have installed/updated the latest android SDK before updating the adt. That might help in your case.
此外,只需在更新 adt 之前检查您是否已安装/更新最新的 android SDK。这可能对您的情况有所帮助。
回答by Swaroop
In case you can't upgrade your Eclipse (like me). Use this as a local archive to install ADT 15.0.0 which supports Eclipse 3.5.
如果您无法升级 Eclipse(像我一样)。使用它作为本地存档来安装支持 Eclipse 3.5 的 ADT 15.0.0。
回答by hewigovens
You need to install GEF and WST first.
您需要先安装 GEF 和 WST。
GEF Update Site : http://download.eclipse.org/tools/gef/updates/releases/(dead)
GEF 更新站点:http: //download.eclipse.org/tools/gef/updates/releases/ (已失效)
WST Update Site : http://download.eclipse.org/releases/galileo
WST 更新站点:http: //download.eclipse.org/releases/galileo
回答by dibin_salher
there is an easy solution for it just select option all available sites .. in the work with.. space and select the android packages you want to install
有一个简单的解决方案,只需选择所有可用站点的选项.. 在工作中.. 空间并选择要安装的 android 软件包
回答by Mahesh Sutariya
On Ubuntu 11.10,
在 Ubuntu 11.10 上,
I downloaded Eclipse using sudo apt-get install eclipse
我下载了 Eclipse 使用 sudo apt-get install eclipse
- Installed Android SDK
- Installed ADT PLugin in Eclipse (Eclipse must be started with
sudo
otherwise you will get error as mentioned by lukap)
- 安装的Android SDK
- 在 Eclipse 中安装了 ADT PLugin(Eclipse 必须启动,
sudo
否则你会得到 lukap 提到的错误)
回答by geekman92
I found that using a 64bit version of eclipsed gave me that error! Try using the 32bit version and see if that fixes it! =)
我发现使用 64 位版本的 eclipsed 给了我这个错误!尝试使用 32 位版本,看看是否可以修复它!=)
回答by Syamphu
you just need Ecplise Helios
你只需要 Ecplise Helios
ADT 16.0.1 (December 2011)
ADT 16.0.1(2011 年 12 月)
Dependencies:
依赖项:
Eclipse Helios (Version 3.6) or higher is required for ADT 16.0.1.
ADT 16.0.1 is designed for use with SDK Tools r16. If you haven't already installed SDK Tools r16 into your SDK, use the Android SDK Manager to do so.
taken from http://developer.android.com/sdk/eclipse-adt.html
回答by nicolas
i had the same problem. I solved it by open the eclipse in the console with: sudo eclipse
我有同样的问题。我通过在控制台中打开 eclipse 解决了这个问题:sudo eclipse
回答by 3Pi
In windows 7, choose 'Run as Administrator' when opening eclipse. This gives eclipse the permissions it needs, and should eliminate the error. This worked for the 64-bit program.
在 Windows 7 中,打开 eclipse 时选择“以管理员身份运行”。这为 eclipse 提供了它需要的权限,并且应该消除错误。这适用于 64 位程序。