[:en]Android: change package name completely![:]

[:en]Step 1: Select “Project” instead of “Android”

s1

Step 2: Select the subdirectory of “java” and right click to to “Refactor” then “Rename”

s2

Step 3: Select “Rename package” to proceed

s3

Step 4: Key in the name package name and then click “Refactor”

s4

Step 5: Go to string folder and change app_name which is the name shown under the icon on your phone/tablet.

final step

If you want to change “com” to “org”

Step 1: highlight the com.xx folder, then select the “config” icon in the middle of the top screen to select “Compact Empty Middle Packages”

s5

Step 2: Rename current ‘com’ to new name

s6

Step 3: Key in “org” to proceed

s6

Step 4: Go to “build.gradle” to change applicationID to the new ID

s8

[:]

Print Friendly, PDF & Email
Scroll to Top