Every time I import an existing Android Application Project into Eclipse, it renames the project to the name of my launcher activity.
I have tried both of these methods:
File -> Import -> Existing Android Code Into Workspace
File -> New -> Android Project From Existing Code
In both of these scenarios, I browse to the project folder and select it, which causes it to show in the 'Projects' window as available for importing. However, the project is showing as being titled 'LauncherActivity', or something similar.
Edit: It's easy enough to change the project name back to what it was originally, I know how to do this:
Right-click on Project -> Refactor -> Rename
However, it is annoying to have to do it every time.
Edit 2: The .project file contains the correct project name, and yet the problem still occurs.
To rename the project, simply right-click the project and select "Refactor/Rename...". Fill in the new name and click OK.
The project name is probably set in the project file. Try to edit the .project file, and change the name tag:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Projectname</name>
<projects>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With