Modify the corresponding package name in AndroidManifest.xml first, and then modify the package in smali directory. After packaging the folder into apk, re-sign apk, verify the signature of apk, optimize apk, install apk and test it.
In the java environment and the development environment of Eclipse and android.