1 - Change Package Name
In this section, we will see how to change the package name.
You can also follow along with this video.
Extract the files in the
Project.zip to a new folder. and open this folder in the android studio.
After the Project is fully loaded in the android studio, in the Project panel, change the dropdown option to
#Change Project View Settings
Click the setting icon in the Project panel and make sure these options are not checked.
Compact Middle Packages
#Change Package Name
app/src/main/java/com/wpinandroid/ folder in the Project panel.
Right-click on the folder
wpinandroid and select
A dialog will open and enter a new name on the dialog and click refactor button.
#Update Package Name In build.gradle
app/build.grale and open build.gradle.
com.wpinandroid with your app package id
Sync Now to let the Project will sync.
#Update Package Name In shortcuts.xml
app/src/main/res/xml/shortcuts.xml and open shortcuts.xml. Press Ctrl + R to find and replace. Then enter
wpinandroid in find and
myappid in replace and click replace all.