Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android/Eclipse: How to change project name on import?

This is going on my nerves for so long now... I want to import an existing android project into my workspace, but sometimes there is already an existing project with the same name (best example: MainActivity, which is the most common name for example projects in tutorials)

enter image description here

So I cannot import the new project into the workspace. Usually, I have to delete the MainActivity project A, before I can import project B using the same project name. Or (before import) I have to rename/modify the MainActivity and the Manifest.xml from project B.

I know the New Project Name field is editable, but if I change the project name i still cannot import the project into the workspace.

Is there any other workaround???

like image 942
longi Avatar asked Jan 23 '14 11:01

longi


2 Answers

Open the project folder and edit the ".project" file. Just edit the name there.

like image 135
bogdan Avatar answered Sep 27 '22 20:09

bogdan


Change the project name in the field "New Project Name" by double click on name you will get editbox type the project name you want for project as shown in screen you will able to import the same project with different name.

enter image description here

like image 41
rajlaxmi_jagdale Avatar answered Sep 27 '22 20:09

rajlaxmi_jagdale