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
  • 16,079
  • 27
  • 115
  • 222
  • 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
  • 10,285
  • 5
  • 48
  • 73
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
  • 145
  • 2
  • 5