移动的Android / Eclipse项目到新的PC [英] Moving Android/Eclipse project to new PC
问题描述
嗯,我大清洗了我的Android开发个人电脑,但并没有在意那么多,因为我真的需要这个工作的一个更新,更快的PC。在这里,我现在有一个高端的Windows 7 64位中。
Well, I hosed up my Android development PC, but didn't care all that much since I really needed a newer, much faster PC for this work. And here I am now with a high-end Windows 7 64-bit box.
Eclipse和所有的Android组件启动并运行,但有一点我有麻烦的是如何让我的previous工程进入新的工作区。我复制了我的整个旧的工作区目录从旧的磁盘,并提出了我的Eclipse工作区,但它不会自动地看到,在那里的项目。我试图从现有源创建一个新的Android项目,但它抱怨有重叠的项目或一些这样的。
Eclipse and all the Android components are up and running, but the one thing I'm having trouble with is how to get my previous project into the new workspace. I copied over my entire old workspace directory from the old disk and made that my Eclipse workspace, but it doesn't automatically see the projects that are there. I tried creating a new Android project "from existing source", but it complained about having "overlapping projects" or some such.
有没有办法把它识别现有的项目文件,或者我应该搬到别的地方,从头开始创建项目,然后复制旧文件放回项目树?或者有什么其他的解决方案?
Is there a way to have it recognize the existing project files, or should I move them somewhere else, create the project from scratch, and then copy the old files back into the project tree? Or any other solutions?
推荐答案
还有另外一个并发症。在我的老电脑我使用Eclipse太阳神,这显然与ADT一些小的兼容性问题,一直让我的新电脑上我与伽利略去代替,而且有可能是在项目目录中的现有文件的一些差异。
There was one other complication. On my "old" PC I had been using Eclipse Helios, which apparently has some minor compatibility issues with ADT, so on my new PC I went with Galileo instead, and there might be some differences in existing files in the project directory.
在任何情况下,我所做的就是将我的老项目目录到一个临时位置,在Eclipse中创建一个新的项目具有相同的名称和基本设置,关闭Eclipse,复制我的整个目录树回新项目目录,然后重新启动Eclipse。 Eclipse的放荡一点的东西,然后说干就干,重建一切。
In any case, what I did was to move my old project directory to a temp location, create a new project in Eclipse with the same name and basic settings, close Eclipse, copy my whole directory tree back into the new project directories, and then restart Eclipse. Eclipse bitched a bit about something, then went ahead and rebuilt everything.
我回到业务!感谢所有的答复。
I'm back in business! Thanks for all the responses.
顺便说一句,在整个安装过程中花了很长的时间,因为我不知道是否安装64位Java或32位(32位被要求)等,但它是很好要在一个干净的运行,快速的PC,而不是一个一个已经积累一般CRUD好几年了。
BTW, the entire install process took a long time since I wasn't sure whether to install 64-bit Java or 32-bit (32-bit was required), etc. But it's nice to be running on a clean, fast PC instead of one that's been accumulating general crud for several years.
这篇关于移动的Android / Eclipse项目到新的PC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!