Modify the name of the Android Project (non-Eclipse rename) and androideclipse
Problem background
In Eclipse, when importing a new Android source code project, if the Eclipse workspace already has the same name project, it cannot be imported.
There are many ways to modify the project name on the Internet, that is, after the import, the Refactor rename method is used. The premise is that you can only change the imported project.
After analyzing the project directory and finding the key point of modifying the project name, note that modifying the project name is not modifying app_name (the program name after apk installation)
1. Find the. project file under the project directory. Is an implicit File
2. open the file, use notepad or ultraedit, and find the following
<ProjectDescription>
<Name>CityListPin</Name>
<Comment> </comment>
Here is the project name. After modification, re-import it in eclipse to see that it has been modified.
How to rename a project in eclipse
Select the project folder, F2 can be renamed, and the key point of Update references is checked.
You can also select the project folder -- Right-click -- Refactor -- Rename. In fact, either of them is one, and F2 is his shortcut key ~!
Eclipse project renaming (how to change the project name completely)
1. Rename a project (select a project, right-click Refactor-Rename)
2. Modify the Web path (select project, right-click Properties-MyEclipse-web, and modify the value of Web Context-root)
3. Modify the project code (modify and replace the original project name in the source program, usually only the original project name is found in the link to. do.