简体   繁体   English

无法为Android开发设置Eclipse

[英]Unable to setup Eclipse for Android Development

Im having trouble installing Eclipse to develop Android apps. 我在安装Eclipse来开发Android应用程序时遇到问题。 I have installed the android-sdk-windows as well as Eclipse Juno (running on Windows 8). 我已经安装了android-sdk-windows和Eclipse Juno(在Windows 8上运行)。

When I start Eclipse I get the message "This version of ADT requires Android SDK Tools revision 21.0.0.rc9 or above. Current version is 15.0.0. Please updaye your SDK tools to the latest version" 当我启动Eclipse时,我收到消息“此ADT版本需要Android SDK工具版本21.0.0.rc9或更高版本。当前版本是15.0.0。请更新您的SDK工具为最新版本”

I then open my SDK manager, and select to update and install the package. 然后,我打开我的SDK管理器,然后选择更新和安装该软件包。 But I get the error messages as per the images below 但是我收到如下图所示的错误消息 在此处输入图片说明在此处输入图片说明

Can anyone please help with this as its driving me crazy. 任何人都可以帮忙,因为它使我发疯。 I have looked on here for solutions but a lot of the explanations get very technical or skip "obvious" steps and I get stuck. 我在这里查看了解决方案,但是很多解释都变得非常技术性或跳过了“显而易见的”步骤,因此我陷入了困境。 I have installed and unistalled a number of times, but no luck. 我已经安装和安装了很多次,但是没有运气。 I have manually tried to change the filename as per the second error message but it says the file is in use so I cant rename it. 我已经尝试根据第二条错误消息尝试更改文件名,但是它说文件正在使用中,所以我无法重命名。 I have closed all internet explorer applications when trying this, as well as disabling Norton antivirus, but still no luck. 尝试进行此操作时,我已经关闭了所有Internet Explorer应用程序,并禁用了Norton防病毒软件,但还是没有运气。

Exit Eclipse while having the SDK Manager open. 打开SDK Manager时退出Eclipse。 Then press Yes. 然后按是。 I think this is the problem. 我认为这是问题所在。

Make your download from this link Get SDK . 从此链接下载获取SDK It have the IDE Eclipse and the installation of the SDK already configured. 它已经配置了IDE Eclipse和SDK的安装。 Maybe this help you.. 也许这对您有帮助。

You don't need to download sdk or other stuff. 您无需下载SDK或其他内容。 following steps 以下步骤

Pre-requestries : Install Jdk and setting the JAVA_HOME and install eclipse 前提条件:安装Jdk并设置JAVA_HOME并安装eclipse

  1. Start Eclipse, then select Help --> Install New Software 启动Eclipse,然后选择帮助->安装新软件
  2. Click Add, in the top-right Corner 点击右上角的添加
  3. In the Add Repository dialog enter "ADT Plugin" for Name & the following URL for Location https://dl-ssl.google.com/android/eclipse/ 在“添加存储库”对话框中,输入“ ADT插件”作为名称,并输入以下URL作为位置https://dl-ssl.google.com/android/eclipse/
  4. Click OK 点击确定
  5. In the available software dialog check the Developer Tools and click, Next. 在可用的软件对话框中,检查“开发工具”,然后单击“下一步”。
  6. Read the license and accept it. 阅读许可并接受。
  7. That it. 那个 Finish. 完。

Hope you got the way. 希望你能找到办法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM