0

There are many ways to change package name.

I sew several question on stackoverflow but many of developers had error/problem and etc.

what is the best solution to change package name ?

S.M_Emamian
  • 17,005
  • 37
  • 135
  • 254
  • 4
    use this link : (http://stackoverflow.com/questions/16804093/android-studio-rename-package) –  Oct 27 '15 at 12:23
  • "but many of developers had error/problem" which one did you try and what error you received? I'd suggest that you make a backup of your project first. – Sufian Oct 27 '15 at 12:26

2 Answers2

2

I personnaly select the package and use MAJ + F6 (shortcut for refactor -> rename). Enter a new name then validate using the Refactor button.

I never had problem with it.

ThomasThiebaud
  • 11,331
  • 6
  • 54
  • 77
0

In addition to the Maloubobola answer, please make sure to change the package name inside AndroidManifest.xml file as well under the 'package' tag.

Community
  • 1
  • 1
Surya
  • 173
  • 2
  • 5