Android / Eclipse: how to change project name upon import?

This goes on for so long ... I want to import an existing android project into the workspace , but sometimes there is already an existing project with the same name (best example: MainActivitywhich is the most common name, for example, in projects in textbooks)

enter image description here

Therefore, I cannot import a new project into the workspace. Usually I need to delete MainActivity project Abefore I can import project Bwith the same project name. Or ( before ) I need to rename / change to MainActivityand Manifest.xmlfrom project B.

, New Project Name , , .

???

+4
3

(f.e. MainActivity2)

→ → .

( MainActivity)

+1

.project. .

+3

Change the name of the project in the "New project name" field, double-clicking on the name that you get in the edit box, enter the name of the project that you want for the project, as shown on the screen, you can import the same project with a different name.

enter image description here

+2
source

Source: https://habr.com/ru/post/1523315/


All Articles