I am trying to sell my theme on Google Play, but it installs in mnt/asec, which crashes it. I created a apk as an installer which is downloaded from the google play store. Once it is downloaded it, the app will show up in the homescreen. The user has to open it, and it will give the option to install the actual theme i put inside.
APK (Installer)
assets/android_secure_cache.apk
android_secure_cache (is my actual theme) which should install in system/app.
I have signed both the installer and theme with APK Signer, and they both have the same version with package name as well.
and my error when installing is this: an existing package by the same name with a conflicting signature is already installed
I just added a new version number in the android manifest.
is anybody out there?
Related
Hello,
I am trying to edit some graphic files inside APK so that after installing them on my S3 and pairing with my smartwatch it will display the same icons I'm using on my phone. To do that I used tools like app backup/titanium, then I transfer them to my PC. I use WinRAR to open APK, I use Photoshop to edit files I need, and then I put changed files back to APK, replacing them. Now, if I stop here the APK won't install on my device. Therefore I use APK Sign app that 'signs' the .apk . Sometimes the produced files install without problem, and sometimes I immediatly get an error message Unfortunately, Package installer has stopped.. Why does it stop? It works with some APK I edit (free or paid) but not with all of them. Please help!
Open the original apk with win rar and then copy the files that you edited this works :thumbup:
Sent from my Xperia Live with Walkman using xda app-developers app
it does - but not for all the apps i'm trying. for example third party apps works after changing icons, and the ones from sony (downloaded for free from play store) does not. it just doesn't install.
I have a Gapps package that I have recently downloaded but i want to add my own apk to it, namely googleplayservices.apk. How do I do this?
stupot65 said:
I have a Gapps package that I have recently downloaded but i want to add my own apk to it, namely googleplayservices.apk. How do I do this?
Click to expand...
Click to collapse
Google Play Services is probably already in the Gapps package (as GmsCore.apk or PrebuiltGmsCore.apk or something similiar). Still, if you want to add it, just open the Gapps package .zip (with an archive manager like WinZip) and navigate to the folder "system", and then to "app" (inside the system folder). You should delete the existing Google Play Services apk inside the Gapps package, or else you may get some FCs once you flash the modified package (because there would be two different versions of Play Services installed).
I've edited a few of my apks with apktool and I have one that has me stumped. The apk is a paid apk not obtained through the market. To install it, you have to download the installer and then the apk. I can edit the apk but that doesn't help. It installs but without running the installer first, it doesn't work. It the apk is installed with you run the installer, it makes you remove the "old" version and install "the new" version. Is there any way to get the installer to install the version I edited?
Hi,
I have an issue. I need to install an APK, that’s already install on the phone (old version). As this APK is install by default in the phone by Sony, I can’t remove it ( I could root my phone to remove it but I don’t want (for many reasons…)). Installation failed because of conflicting name.
My question is: How I could rename the new APK (deep inside the APK), not just the file name, to avoid conflicting name?
Thanks
KR
I think this is not possible, unless you have the source code, change the package name and recompile the app. Usual behavior should be that a pre-installed app can be updated. Wondering why this does not work on your phone.
Is there a way you can add apk package names to a file so when a user tries to install any of them, it fails with an error message that the app couldn't be installed?
Here is a patch for Android 10 but I don't know how to feed an external file eg. system/etc/blocked.xml to it so only those apps are blocked or fail to install but all other apps can still install normally.
Is there another way too to add the package names to block from being installed to the Android code itself so there isn't a system/etc/*.xml file they can see and easily delete.
Patch
https://pastebin.com/L892ntMP
Hi ,
Your pastebin link is not working can you please share the patch or the link again
dewettie said:
Is there a way you can add apk package names to a file so when a user tries to install any of them, it fails with an error message that the app couldn't be installed?
Here is a patch for Android 10 but I don't know how to feed an external file eg. system/etc/blocked.xml to it so only those apps are blocked or fail to install but all other apps can still install normally.
Is there another way too to add the package names to block from being installed to the Android code itself so there isn't a system/etc/*.xml file they can see and easily delete.
Patch
https://pastebin.com/L892ntMP
Click to expand...
Click to collapse
Can you please share the patch or the link again
If I remember this correctly, the signature of apk to be installed has to be the same as before if apk has been removed keeping the data. Now, rewrite the signature of the apk and install it and then uninstall keeping the data. That might make it harder to install that app in future...