Hi,
Recently i was trying to clone a project in AS and it's very difficult. I followed the directions i found on the web but they dont work.
They say to use "refactor" and it does do something but does not clone the project because the apk file still loads into Android as the same project name and thus takes over the original project that was already installed.
For example, say i create a project "Proj004", and add some components and code. I then load it into a cell phone and it shows up with a little icon and the name under it "Proj004".
Now i use "refactor" and if i remember right that does make a new project but the name stays the same even though it shows a new name with the old name. What happens is say i import as "Proj005". It will show "Proj005" as the source but will still show "Proj004" in the title bar. Now ignoring the title bar i buld the project, but then i load it into the phone it acts like an "update" to Proj004 and so it takes over the original Proj004 and thus there is no new project icon or name that is supposed to show up as Proj005.
So "refactor" does not actually work completely by itself.
I was able to change some other things but it was hackaday and i dont remember exactly what i changed to get it to do an actual new project.
So i was wondering if there is some written procedure for cloning that actually works entirely, not just part way.
Thanks.
PS
I wrote a Windows program that searches the entire project directory and found that there are literally thousands of entries with the name "Proj004" in them including files and some directories and many many lines of code within files. So there must be a lot that has to be changed to get a new project from an old one.
Recently i was trying to clone a project in AS and it's very difficult. I followed the directions i found on the web but they dont work.
They say to use "refactor" and it does do something but does not clone the project because the apk file still loads into Android as the same project name and thus takes over the original project that was already installed.
For example, say i create a project "Proj004", and add some components and code. I then load it into a cell phone and it shows up with a little icon and the name under it "Proj004".
Now i use "refactor" and if i remember right that does make a new project but the name stays the same even though it shows a new name with the old name. What happens is say i import as "Proj005". It will show "Proj005" as the source but will still show "Proj004" in the title bar. Now ignoring the title bar i buld the project, but then i load it into the phone it acts like an "update" to Proj004 and so it takes over the original Proj004 and thus there is no new project icon or name that is supposed to show up as Proj005.
So "refactor" does not actually work completely by itself.
I was able to change some other things but it was hackaday and i dont remember exactly what i changed to get it to do an actual new project.
So i was wondering if there is some written procedure for cloning that actually works entirely, not just part way.
Thanks.
PS
I wrote a Windows program that searches the entire project directory and found that there are literally thousands of entries with the name "Proj004" in them including files and some directories and many many lines of code within files. So there must be a lot that has to be changed to get a new project from an old one.