my application package name like this :
com
example
developer
myproject
and I want to change it like this :
com
fyk
myproject
how can I do this ? Any advice or tutorial please ?
my application package name like this :
com
example
developer
myproject
and I want to change it like this :
com
fyk
myproject
how can I do this ? Any advice or tutorial please ?
Rename example to fyk. Then shift all the java files of my project to fyk. Delete My Project Now rename the developer to My Project
Right click on the package and use rename option from refactor option. It will refactor all other class in that package automatically.
I'm not sure about Android Studio, but if you use Eclipse, it can be done quite simply:
Select the package you want to change
Press F2
Enter the new package name
Or create a new package and copy the files from the old one to the new one
In Android studio top of project structure small gear icon(options menu) available click it and uncheck compact empty middle packages now your project package folder structure will be broken up. now you can rename it easily