Duplicate an Android project for eclipse in windows

Go To StackoverFlow.com


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.

2012-04-04 06:30
by Luis Andrés García


Try working with Android Library Project may also suit your requirement

2012-04-04 07:11
by Vinayak Bevinakatti


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.

2012-04-04 06:58
by Nikolay Elenkov
I am not trying to implement an alternative to SVN. I just want to use a previous project to build a new one - Luis Andrés García 2012-04-04 07:38