On Sun, Dec 4, 2011 at 9:51 PM, Mark Murphy <mmur...@commonsware.com> wrote: > On Sat, Dec 3, 2011 at 11:43 PM, bob <b...@coolgroups.com> wrote: >> Let's say you have an Android game. > > You have an Android game. > >> You want to duplicate the project >> and change the package name to make a new game. Is there a simple 20- >> second way of doing this? I've tried many methods and somehow this >> always takes about half an hour of fiddling for something that ought >> to be trivial. > > Assuming that you're using Eclipse: > > Step #1. Copy the project directory to a new directory. > > Step #2: Import the new copy into Eclipse, giving it a different project name. > > Step #3: Fix up the manifest to have the new package, and double-check. >
I haven't actually used it, but at least int ADT15, there is a 'Rename Application Package' action (right click project, Android Tools->Rename Application Package) . Judging from the preview it looks like it: * changes the package name in the manifest * updates component path in the manifest * changes the R imports to the new package It doesn't change the package of actual class files, but that is easy enough with native Eclipse refactoring. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en