I have downloaded an Android project. To avoid name conflicts I want to move it from com.android.zzz to com.my.zzz. At the moment I'm using Ecplise with the standard android toolkit. Is there a better way to do the rename than to go manually through the files?
I suggest that you copy everything in another folder (AndroidApp). In that copy, rename AndroidApp\MyApplication to AndroidApp\AndroidApp. Change the setting. gradle to "include ':AndroidApp'" and finally import all this new folder in a new Android Studio project.
This is basic IDE refactoring.
Right click the package in Eclipse -> Refactor -> Rename.
You will probably want to check all the options that come up in the Rename dialog.
Another option would be to right click the class files in Eclipse -> Refactor -> Move.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With