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
Click the setting icon in the Project panel and make sure these options are not checked.
Compact Middle Packages
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.
app/build.grale and open build.gradle.
com.wpinandroid with your app package id
Sync Now to let the Project will sync.
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.