Recompiled APK not installing because it exists even though it's uninstalled

180 Views Asked by At

I have an android head unit for a car and the OS comes with an app pre-installed. And the developers often provide APK for the updates of the app. I took the latest apk and decompiled it with APK Toolkit and made some changes to some assets. I then recompiled it and when I go to install it, it does not install and throws and error saying the following:

App not installed:

The package conflicts with an existing package by the same name.

But I have uninstalled the app and it's just the recompiled apk that I cannot install. I am able to even install older versions of the original apk but just not the recompiled one. It's worth mentioning that some other apk's I can decompile and recompile without any issues and it lets me re-install it. But this particular app seems to have extra measures to prevent it.

I am thinking the original app's signature must be staying on the system as it's pre-installed and this is causing the issue.

Can anyone suggest possible solutions to overcome this issue? The device is not rooted and rooting unfortunately isn't an option.

Thanks

0

There are 0 best solutions below