简体   繁体   English

结合使用Android源插件和Eclipse ADT捆绑包

[英]Use Android sources plugin with Eclipse ADT bundle

I followed android.com's instructions for installing eclipse with android developer tools (ADT) bundle. 我按照android.com的说明使用android开发人员工具(ADT)捆绑包安装eclipse。 I then in eclipse do Help > Install New Software... to attempt to install Android Source Plugin which I have happily used for at least a year on my old eclipse installation. 然后,我在eclipse中执行“帮助”>“安装新软件...”,以尝试安装Android Source Plugin ,在旧的Eclipse安装中,我已经愉快地使用了至少一年。

Attempting to install it using Java Rel7, I get an error which I found some bug reporting was due to running eclipse on Java Rel7. 尝试使用Java Rel7安装它时,出现一个错误,发现一些错误报告是由于在Java Rel7上运行eclipse引起的。 So I tried to run Java Rel5 but this version of eclipse needs Java Rel6. 因此,我尝试运行Java Rel5,但是此版本的Eclipse需要Java Rel6。 So I installed Java Rel6 and tried running eclipse on that and installing the Android Source Plugin, but that failed too. 因此,我安装了Java Rel6,并尝试在其上运行eclipse并安装Android Source Plugin,但这也失败了。

Anybody else run in to anything like this? 还有其他人遇到这种情况吗? Know any workarounds? 知道任何解决方法吗?

You could try installing eclipse and the SDK seperately. 您可以尝试单独安装eclipse和SDK。 I've had to install android a few times recently on different machines and this is the approach Ive taken. 我最近不得不在不同的机器上安装android几次,这是我采取的方法。 You can download eclipse from the eclipse website at http://www.eclipse.org/downloads/ . 您可以从eclipse网站http://www.eclipse.org/downloads/下载eclipse。 (I have the first option Eclipse IDE for Java EE developers). (我为Java EE开发人员提供了首选的Eclipse IDE)。

After that is installed you can install the android sdk using this guide http://mobile.tutsplus.com/tutorials/android/android-sdk-installation/ 安装完成后,您可以使用本指南http://mobile.tutsplus.com/tutorials/android/android-sdk-installation/安装android sdk

Also make sure if you want to test on a phone that you go into the android sdk manager (should appear somewhere in eclipse when SDK installed) and download the updates there. 还请确保是否要在手机上进行测试,以进入android sdk管理器(安装SDK时应出现在eclipse中的某处)并在此处下载更新。

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

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