0

Is it possible to duplicate my android app and just give it a new namespace? Creating a copy of this app for another event and instead of going through and copy/paste all files, I was hoping to be able to duplicate the project and choose a new namespace.

Sam
  • 86,580
  • 20
  • 181
  • 179
Patrick
  • 5,442
  • 9
  • 53
  • 104
  • possible duplicate of [Package renaming in eclipse android project](http://stackoverflow.com/questions/3697899/package-renaming-in-eclipse-android-project) – nhaarman Jul 05 '12 at 18:43
  • @Niek that question seems to be about renaming a project rather than creating a copy of it with a new name as the OP is interested in. – FoamyGuy Jul 05 '12 at 18:54

1 Answers1

0

You could create a copy of the Project, select the package name in the 'src/' folder, press F2 , set the new name and update all references automatically. It probably won't update all references correctly though, but it will update most of them.

Christian Brüggemann
  • 2,152
  • 17
  • 23
  • This worked. Don't forget to rename it in the AndroidManifest.xml file as well. Also i had to clean the project, rebuild and restart eclipse. Then it worked. – Patrick Jul 05 '12 at 21:31