-3

Suppose my current Package name is com.citrix.webportal.app but i want com.citrix.webportal.fullversion.app then how can i do. when it done it will be reflect in whole project that i want.

Dilip
  • 2,622
  • 1
  • 20
  • 27

2 Answers2

2

It is quite simple you can simply refactor the name of the package :

In eclipse as well as Android Studio just right click the Project then under refactor option select rename : right click -> refactor -> rename

in eclipse -> select all the checkbox in the pop up window that appears. Change the package name in the menifest file and then clean the project and it is done.

in some cases it may require to import R file again with new name so by pressing Ctrl+shift+o it will be done.

In Studio -> After rename change manually the application id in the build.gradle

Shivam Agarwal
  • 301
  • 1
  • 7
0

In Eclipse, Click your package and the press just F2 . After pressing F2 Rename Package window will open like,

Make sure Update references has a Tick.

In Android Studio,

Right Click the package Name --> Refactor --> Rename

and give whatever you want . Done.

Sathish Kumar J
  • 4,280
  • 1
  • 20
  • 48