且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么我不能将现有项目导入eclipse?

更新时间:2022-10-15 17:07:59

在屏幕上显示的屏幕上,您可以通过单击新建项目名称下的每个文本字段将每个MainActivity重命名为更独特和相关的内容。不能立即显示此字段是可编辑的,但它是。




I've been working on some projects in my programming class and copied them to my computer at home so I can keep working on them.

When I tried to import these projects to Eclipse, it said a project named MainActivity already exists.. Although my workspace folder is clear.

As you can see in the picture the import wizard sets "New Project Name" as MainActivity, for all of the projects I'm trying to import.I'm pretty sure thats causing the errors.

How can I import projects and keep the original name without the import wizard changing it to MainActivity?

http://i.stack.imgur.com/NSQ4y.png

On the screen indicated by your screenshot, you can rename each "MainActivity" to something more unique and relevant by clicking in each text field under "New Project Name". It's not immediately apparent that this field is editable, but it is.