How do I copy and rename a project in Android Studio -
i several hours , many unsuccessful tries this. first google hit on question here says copy code new folder , use refactor -> rename change name.... of what?
i expect there way change name of project.
i can copy project , run no problem. how rename it? if highlight entire app , refactor -> rename can change folder name "app" "newname" nothing. if change project name in manifest, program breaks imports still have "oldname". if manually change "oldname" "newname" doesn't work. if highlight "oldname" , refactor -> rename asks if want change name in original project folder. not trying.
in searching, find bug reports, , various methods incomplete 1 linked above.
i sincerely appreciate help.
when make name changes have make sure change name in androidmanifest.xml , build.gradle file.
in androidmanifest.xml
make sure package name correct you're changing to.
in build.gradle
it's applicationid
needs updated new package name well. sync files new name instead of still being tied old files seems problem.
Comments
Post a Comment