Accepted answer
  1. copy your project to a new one (ctrl+c & ctrl+v).

  2. change the package-name in your manifest

  3. rename your main package with refactor. don't forget to select.

  4. change your application name in manifest

    application android:icon="@drawable/icon" android:label="**new name**"


another thing i noticed is that if you leave android:label="@string/app_name" it somehow keeps the original app name when you view the copied app in the list of applications in settings > applications > manage applications but if you change it to android:label="your app name" it seems to work ok.

also be sure to change your icons properly by deleting the old ones and importing the new ones.


i went to the workspace folder on c:/ (path different for all) copied the project folder (project a), and pasted it with a new name (project b). change the name while in explorer. then, through eclipse, made a new android project with the new name (project b). different way of doing it.


i just wanted to add this after struggling with a code i have at work:

do not use the package name explicitly in your java code no matter what. you might need to rename your project . examples are : getresource() and setting the bitmap source and such and such

it looks like that i had bad references to the package name. it name was used explicitly as a string (e.g "com.pakge.mypkg" ) instead of context.getpackagename() .

try to reach this method anyways you can 'cos the way i just mentioned it might not work for you... try to reach the method name "getpackagename()" from different other objects.


i have to answer not comment as reputation not high enough - to say that i agree @jengelsma has the best answer, just copy and paste, but watch out for the (hidden) svn files (in .svn folders)! unless you want the same references as the other project you don't want these.

team > disconnect and check 'also delete svn meta data' on your new copy to do this.


just want to add some more points :- be ensure that the package name must be different for new project and old project if both project are going to install on same machine.

also modify the same in mainfest.xml under


i used the eclipse luna, i tried to copy an existing project (project_a) as below

  1. create a new java project (its name is as project_b)
  2. right click on project_b (to pop up the context menu)
  3. select the menu item "import..." (to show the "import" dialog)
  4. on the list under the "select an import source" field to extend the item "general"
  5. double click on the sub-item "file system" (to show the "file system" page)
  6. enter the path of "project_a" directory into the "from directory" field (or click the "browse..." button to find and select the directory of "project_a")
  7. check the checkbox of "project_a" directory under the "from directory" field
  8. to see if the "into folder" field is showing folder name as "project_b" (if not, click "browse..." button to find and select the "project_b")
  9. click the "finish" button (because the project_b is empty, need not care any more)
  10. the all contents of project_a are copied into project_b, we can run the project_b as the project_a (if needed we can refactor the project_b)


as said above all you have to do is copy+paste the project and rename it ["myapp.11"] but sometimes this feature gets bugged in eclipse. one such case happens when you have more than one version of the jdk. to solve this close eclipse rename the older versions of the jdk with an underscore e.g. _jdk17.2 and retry. if you dont need these versions delete them.


there's now an automatic tool for that, part of the adt.

  1. make sure the origin project is open in eclipse, copy & paste to a new name
  2. right click on the new project > android tools > rename application package



mandatory tasks:

  1. in eclipse, copy and paste the project. (give the project a new name)
  2. in manifest, update the package name and save. (update launch configuration)
  3. refactor and rename the package name. (update references)

optional tasks:

  1. in manifest, change the application label and icon, so after
    installing the application on your device it won't be confused with the first one.
  2. refactor and rename the java files name, so they won't be confused with the original project files.
  3. if you have used encodings such as utf-8 in your project (in order to handle languages other than english) you might need to edit and save those files so their font would be shown correctly.

note: if you do the 3rd task before 2nd task, some undesired imports would be added to your java classes. you then will need to remove those imports.


if you are using eclipse and all you want to do is clone your android project and give it a new project name, simply do the a copy/paste (ctrl-c & ctrl-v - step 1 in mur's answer above). eclipse will ask you for a new project name when you paste and you're done. the eclipse project name and directory are independent of the application name and package.


i just want to add an item to mur votema's list:

5) don't forget to open the project you want to copy!

it just cost me some minutes to find out that it doesn't work with closed projects. :-)

Related Query

More Query from same tag