简体   繁体   English

设置Eclipse以进行Android开发和测试

[英]Setting up Eclipse for Android Development and testing

As the title suggests, the issue I am having is in setting up Eclipse for Android Development and testing. 顾名思义,我遇到的问题是为Android开发和测试设置Eclipse。 There are two installations that need to be in sync. 有两个安装需要同步。 There is the ADT and there is the SDK. 有ADT和SDK。 The problem I seem to be having stems from the fact that the latest version of the ADT is not compliant with what I need to do. 我似乎遇到的问题是由于最新版本的ADT与我需要执行的操作不兼容。 I cannot use the ADT version 23. Instead, I need to use version 22. 我不能使用ADT 23版。相反,我需要使用22版。

The problem is in the fact that the SDK and the ADT have to be the same versions. 问题在于,SDK和ADT必须是相同的版本。 How do I get and use version 22 of the SDK for android development for Eclipse? 如何获取和使用SDK版本22进行Eclipse的android开发?

clean out the ADT install features ( DDMS, traceview, etc ) by displaying Help installed features then hilite them and press the 'uninstall' button. 通过显示“帮助”安装的功能来清理ADT安装功能(DDMS,traceview等),然后使它们高亮显示并按“卸载”按钮。

ANDROID ADT etc now cleaned out of eclipse. ANDROID ADT等现在已经清除了日食。

download install from archive the following link: 从以下链接下载从存档安装:

dl.google.com/android/android-sdk_r22.6.2-linux.tgz dl.google.com/android/android-sdk_r22.6.2-linux.tgz

That will install correct SDK. 这将安装正确的SDK。

Then you have to add ADT to eclipse without it default to R 23 where you will get the 'incompatible ' message list...... 然后您必须将ADT添加到eclipse中,而不将其默认设置为R 23,您将在其中获得“不兼容”消息列表……

I think this will help you with the last item on reverting ADT to R 22 我认为这将帮助您完成将ADT恢复为R 22的最后一项

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

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