S.M_Emamian
S.M_Emamian

Reputation: 17393

How to change package name - android studio?

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 ?

Upvotes: 0

Views: 214

Answers (2)

Surya
Surya

Reputation: 323

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

Upvotes: 0

ThomasThiebaud
ThomasThiebaud

Reputation: 11969

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.

Upvotes: 2

Related Questions