Change the packagename of an apk to generate multiple APK and packagenameapk.
The game strategy is designed to generate a large number of strategies. However, if you only modify the game ID without changing the package name, the content will change, but the installed package will overwrite the original game package, therefore, you need to change the package name in manifest. At the beginning, it was directly modified in manifest, but a large number of errors may occur, that is, the R file has changed and needs to be re-imported. Later, I found some information on the Internet and learned how to use some android tools.
In fact, the above steps do not need to be done one by one, as long as one step, the following is the focus!
Only two steps:
1. Right-click the project android tools → rename application package and enter our package name.
2 then refactor (updated) All package names)
But some errors may also occur during the modification process. These problems are caused by garbled Eclipse not being compiled. If all the comments in your program are in English, no error will occur when you import the package name.
Also, A fatal error occurred while refreshing the refactoring
You need to check the cause in the Error log.
The Android single-book e-book program can be packaged in batches, and multiple APK files are generated by signatures. How can this program not be overwritten during installation?
The problem is solved. I wrote a code and replaced the package name when generating the apk. The package names of each apk are different. Thank you very much for your reply.
How can I change the apk editor in batches? One by one is too troublesome.
I will use re to change