Android的Eclipse导入现有的code [英] Android Eclipse Import Existing Code

查看:183
本文介绍了Android的Eclipse导入现有的code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想整理我的code为SVN,所以我可以从多个地点工作没有问题,并有可能增加更多的开发人员。问题是,我不能得到code到一个新的项目很容易。我想从现有code项目。

I am trying to organize my code for SVN so I can work from multiple locations without issue and potentially add more developers. The problem is that I can't get the code into a new project easily. I am trying to create a project from existing code.

在我选择的文件夹中,主要活动显示了,但我从来没有使用它。我试着删除所有。项目文件并没有什么文件夹中为好,但问题始终是灰色的,我可从来没有得到它的导入。

Once I select the folder, the "main activity" shows up, but I can never use it. I've tried deleting all the .project files and what not in the folder as well, but the thing is always greyed out and I can never get it to import.

为什么会变灰?什么我需要做的就是它导入?

Why is it greyed out? What do I need to do to get it to import?

- ADT构建v21.0.0-519525

-- ADT Build v21.0.0-519525

推荐答案

我研究了一下这一束,并发现它是相冲突与另一个已经存在的工作空间类似的命名活动。该错误消息至少选择一个项目被掩盖的消息。它会很快出现,然后切换到选择至少一个项目。

I played around with this a bunch and found out that it was conflicting with another similarly named activity that already existed in the workspace. The error message "Select at least one project" was covering up that message. It would appear very quickly and then switch to select at least one project.

要解决这个问题,我从我的工作区中删除了所有项目。我不知道是哪一个,因为我正在做,正在版本和品牌的不同公司的应用程序。

To get around this, I deleted all the projects from my workspace. I didn't know which one it was because I am making an app that is being versioned and branded for different companies.

这篇关于Android的Eclipse导入现有的code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆