Change the packagename of an apk to generate multiple APK and packagenameapk.

Source: Internet
Author: User

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
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.