I would like to make an small program in Windows to duplicate an android project to use it in eclipse. I know that there is an option in eclipse (New Project -> Android Project -> create project from existing source), but I would like to automate this step (doing it programmatically in Java). Is there any command, script, etc to do so? I have tried copying the project folder, renaming every reference in the new project´s files and importing the new project into eclipse using a ZIP, but it does not seem to work.
Thanks in advance.
Try working with Android Library Project may also suit your requirement
What exactly is the problem? Additionally, if you are working on multiple machines, do yourself a favour, and use some sort of version control (SVN, Git, etc.) That would make it easy to commit/checkout files across machines.