简体   繁体   中英

Replace a system application with your own modified application on android

I downloaded the source code of OI Notepad and did some modifications to it. And then made an .apk file out of it. But when I try to install the .apk it shows

This is a system application.
Do you still want to replace it?

When i say yes it moves forward but does not install it.. I have this post My application tries replace another my application and the answer given there the package name of both the apps cannot be same. But is there any way in which I can manage to install modified OI Notepad without any hassles of replacing the older one. It happens in Emulator.. Thanks

If you are using eclipse you can right click the package tree and use the refactor option to quickly change the package. This, in most cases, correctly updates the Application Manifest for you. This 'should' resolve the error you are having keeping in mind that you will now have two versions of the application so it may be in your best interest to change the application name of your custom version so you can easily distinguish between the two.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM