what's wrong with this apk? I can't install it on a specific device but it can be installed on any other device - General Questions and Answers

Hi,
I have an apk that I would like to install on my smart tv, but when installing it I get the following error "An existing package by the same name with a conflicting signature is already installed" but I am 100% sure that there are no packages installed with the same name since I wiped my smart tv clean, not that if I installed the same apk on my phone it installs just fine, if I install it on a tv box with the same version of android as in the smart tv then it works as expected.
also if I try to install a different apk on my smart tv it works also, but that specific apk with the specific smart tv that I have just don't work.
My tv is an off-brand 55' that runs the same firmware as a Tcl v8 TVs, in fact, I have updated it using a firmware file from TCL site with the version number "v8-s68at02-lf1v198"
running Aida64 reveals that the android version is 5.1.1(lollipop) and the API level is "22" and the "minSdkVersion" of the apk is "21" so it should install just fine
I uploaded the apk here https://drive.google.com/file/d/1UtDuZee6xv9ISW9a-e4T-YHiIYJ2Y48J/view?usp=sharing
can someone tell me what's so special about this apk?
Regards

You get this error message if Android's PM ( package manager ) detects that a similar APK version is already installed. Hence delete the already installed APK version: if APK is a user app then a Factory Reset may help in doing so.
If APK is a system app and/or a system-priv app then Android OS must get rooted before trying to manually uninstall it.

xXx yYy said:
You get this error message if Android's PM ( package manager ) detects that a similar APK version is already installed. Hence delete the already installed APK version: if APK is a user app then a Factory Reset may help in doing so.
If APK is a system app and/or a system-priv app then Android OS must get rooted before.
Click to expand...
Click to collapse
I understand what the message means but as I said in the OP the strange thing is that the package is not installed, I even formatted the tv and wiped it clean, and tried to install the apk and it gave the same error.

Have never heard or read that PM produces false error messages.

Just to make matters stranger I created a dummy app in android studio with the same package name and installed it on the tv and it worked fine! so if it was true that the app is installed it would've warned me but it didn't.
now I resigned the problematic apk with the same certificate as my dummy app and tried to install it on top of my dummy app, it did tell me it will update the app since they have the same package name but after clicking update it also showed me "An existing package by the same name with a conflicting signature is already installed" which is strange since they should both be signed by the same certificate.

Related

[Q] Installing and re-installing android applications

When we download an application from Google Play Store, it downloads and then magically installs on the Android device.
But supposing we do a Factory Reset, or that we upload a new firmware or simply suppose we have another Android device at home and we would like the same application to be installed there too.
Is it possible to somehow maintain the installation files and be able to copy these files off the Android device and then use them on another device?
Yes. An app comes as an 'apk' installer file that can be transferred to another device and installed or re-installed on the same device. But to get the apks of apps installed via Playstore, you will need an app like "App Backup and Restore".
P.S. Sharing apks of paid apps is illegal and not recommended. :good:
immortalneo said:
Yes. An app comes as an 'apk' installer file that can be transferred to another device and installed or re-installed on the same device. But to get the apks of apps installed via Playstore, you will need an app like "App Backup and Restore".
P.S. Sharing apks of paid apps is illegal and not recommended. :good:
Click to expand...
Click to collapse
I have this "App Backup" but I am trying to understand the mechanism a bit more.
The apk file is not the end of the story. Try the game "Yesterday". It is a 1GB download, however the .apk is only a few MBs and the rest is the actual game. However this 1GB file comes straight from the app store, so there is a mechanism that App Backup does not cover.
I managed to restore this game by saving the data myself, but every application is different.

[Completed] App not installed. An existing package by the same name with a conflicting signature

I have installed an apk file previously and now intend to install another updated apk file to my android phone. However the installation of the new apk file failed with message "an existing package by the same name with a conflicting signature is already installed".
I had tried to uninstall the first apk and then install the new apk file but the installation failed with the same message appeared. My phone is not rooted. Is there any way to rectify the error ?
Thank you in advance.
kclimkc330 said:
I have installed an apk file previously and now intend to install another updated apk file to my android phone. However the installation of the new apk file failed with message "an existing package by the same name with a conflicting signature is already installed".
I had tried to uninstall the first apk and then install the new apk file but the installation failed with the same message appeared. My phone is not rooted. Is there any way to rectify the error ?
Thank you in advance.
Click to expand...
Click to collapse
I found another user who could fix a similar issue with YouTube.apk: [Q] Installing the new YouTube V5 apk Issues (task's AOKP).
Maybe it works for you too.
Alternatively you can check if the un-installed (first) app is really completely uninstalled. Maybe it's a system app which still has some left-overs in another folder and is just "de-activated" or "disabled".
However, completely uninstalling of system apps requires root access.
If you still have issues and you can't contact the app/update dev for help, you can post your questions in the Android Development and Hacking > Android Q&A, Help & Troubleshooting forum.

firefox.apk won't install on my tablet

hi.
I used tablet 'a', installed firefox on it. Then made a backup (using Astro) of its apk. Then copied this apk to tablet 'b' and pressed it to install. The installation began- then after a few runs of the green installation bar a message appears "App not installed".
What is it and what can I do?
(I just wanted to note that most other apps are totally fine).
thank you
AFAIK the apk downloaded from Play is different depending of your OS version, arm cpu, and I suppose resolution too.
Most times same apk will work in most devices but maybe firefox has different versions...
BTW you have access to many firefox current and previous versions in F-droid.
Sent from my Classic using XDA-Developers mobile app
oy-ster said:
hi.
I used tablet 'a', installed firefox on it. Then made a backup (using Astro) of its apk. Then copied this apk to tablet 'b' and pressed it to install. The installation began- then after a few runs of the green installation bar a message appears "App not installed".
What is it and what can I do?
(I just wanted to note that most other apps are totally fine).
thank you
Click to expand...
Click to collapse
Try uninstall the installed Firefox in your device, and then Install the new one you have downloaded. It should be good.
dapgo said:
AFAIK the apk downloaded from Play is different depending of your OS version, arm cpu, and I suppose resolution too.
Most times same apk will work in most devices but maybe firefox has different versions...
BTW you have access to many firefox current and previous versions in F-droid.
Sent from my Classic using XDA-Developers mobile app
Click to expand...
Click to collapse
+1 true bro
Yeah it's really rare that a backup works on another device cause of that say dapgo, arm, path, version of os and some app like flash or some add-on makes the installation incompatible and prevents installation.
I have an ulefone touche 2, Titanium Backup pro> backup of XXXX app > go my ulefone touch 3 . . . . surprise ! ! ! ! won't work to install like you i think it's the same prob, the only difference.....internal hardware.....

"Unknown sources" missing on Oreo

Hi, since the Oreo update I can't find the "Unknown sources" to install APK's freely. I'ts not under "Lock Screen and Security", and I have enabled Chrome in "Applications/Special Access/Install other apps" and I'm trying to install apps from the "Downloads" section of chrome, but it dosn't work this way either.
I was trying to install the Pixel Launcher as seen from here: https://theunlockr.com/2018/03/13/make-samsung-galaxy-s9-look-like-stock-android/
But everytime I try it I get the "<!> Application not installed".
I don't know exactly what says in english, I'm using my phone in spanish.
Any ideas? Thanks!
If you go to Settings-Apps-3 Dots-Special Access-Install Unknown Apps.
They've moved it so only certain apps can install unknown apps
Please help how to fix this problem. This doesn't work, I tried installing Accuweather pro several times. I have the app saved to my Google Drive, I click on the app and I see something called 'Staging App' and then I get this alert ' There was a problem parsing the package'. I currently had an older version of Accuweather pro installed and working fine. I decided to remove the old version and then reinstall it and I received the same alert. FYI the old Accuweather app was installed before the Oreo update.
Sprint Network
Galaxy S8+
NRHTX said:
Please help how to fix this problem. This doesn't work, I tried installing Accuweather pro several times. I have the app saved to my Google Drive, I click on the app and I see something called 'Staging App' and then I get this alert ' There was a problem parsing the package'. I currently had an older version of Accuweather pro installed and working fine. I decided to remove the old version and then reinstall it and I received the same alert. FYI the old Accuweather app was installed before the Oreo update.
Sprint Network
Galaxy S8+
Click to expand...
Click to collapse
Have you tried downloading your APP file from Google Drive to your phone then opening the copy on your phone, that should install the .apk
Go to settings on the phone >> apps >> 3 vertical dots at the top right corner >> special access >> install unknown apps >> and there enable the permission from where you are trying to download it.
All thank you,
I found out that you now have to download the app to your phone. Google Drive does not allow you to download and manually install .
Dear sir/madam,
Following your answer, in specific this part, "They've moved it so only certain apps can install unknown apps", perhaps someone could help me out. I use the Firefox Focus browser and this app doesn't show up in the list of apps that are allowed to install unknown apps.
* Does this mean Firefox Focus can't install apps from unknown apps, since it's not on the list?
* And perhaps we can conclude from that it will never be allowed to do so?
* Or would this app not be on this list, because I've never tried installing anything using this browser?
I guess the real question would be, what populates this list?
I hope to hear from you, thanks in advance, all the best.
Form what I've seen, 1st time you try to install apk from an app it asks you if you want to allow it?
dalanik said:
Form what I've seen, 1st time you try to install apk from an app it asks you if you want to allow it?
Click to expand...
Click to collapse
That's what I was thinking as well, funny thing is that 'Google Chrome' is in the list and I've never used that browser. Unless it's there, because it's from Google
I have followed the above suggestions and have allowed Chrome to install apps since that's the browser I'm using. The phone says I have downloaded the app but it is not giving me any option to install it? Where did the download go and how can I get it actually installed? This is an app for work.
Edit: Nevermind - I restarted the phone and tried again and it worked. thanks.

Multi-Users on Android

I have setup multiple users on my device (even though I am the only one using my device) and things are not working perfectly, or the way I want it to.
The issue is primarily with side-loading apps on secondary users.
Even though the multi-user environment appears to be completely isolated, that is not completely true. An app can be installed on the device only once. When installing the same app for different users, app installation happens only the 1st time. What happens during subsequent installations is simply creation of a separate data folder for each user. That is why one can't install different versions of the same app for different users. Installation would always fail if such a thing is attempted, unless the newer installation is an update to the app version already installed on the device (in which case all users with the app installed will see the same updated version).
When side-loading, some apps just fail to install in secondary users. Does anyone have an idea as to what could be possibly wrong? These are free apps (often downloaded from Google Play Store), so there is no license verification issues. This can happen irrespective of whether the particular app is already installed for another user or not.
Is this a bug with the whole multi-user feature or is there something that needs to be done to get this working?
I have tried this on three different devices (rooted as well as non-rooted), running on Android 8, 9 and 11. They all seem to have similar problems. Some apps install, and some don't. Is this an Android problem or an app-related one?
Please note that apps that fail to install in secondary users, install and run perfectly fine on the main/ primary user. So this isn't an Android version compatibility issue, but one related to the multi-user feature of Android.
Thanks.
Look inside here:
Building Multiuser-Aware Apps | Android Open Source Project
source.android.com
jwoegerbauer said:
Look inside here:
Building Multiuser-Aware Apps | Android Open Source Project
source.android.com
Click to expand...
Click to collapse
Thanks for the link. I was almost tempted to believe that the problem could be with the apps not supporting multi-users. So I did this to test:
I created 2 secondary user accounts.
On one, I signed in with my Google account and installed some apps from the Play Store. I copied their APKs.
On the other user, I did NOT sign in with any Google account. So I can't access Play Store. I tried sideloading these APKs. Some got installed, and some didn't.
Are these apps (that failed to install) somehow dependent on Google Play Store for installation? The fact that they installed on the user who signed in with a Google account means that they support multi-users. So we can rule that out.
I tried MiXplorer and it successfully installed on both users.
jwoegerbauer said:
Look inside here:
Building Multiuser-Aware Apps | Android Open Source Project
source.android.com
Click to expand...
Click to collapse
I think I have figured out the problem.
Apps that refused to install were actually Split APKs, and I was trying to install the base apk file extracted using a file manager.
Backing up the App Bundles for such apps using SAI and installing them worked perfectly.

Categories

Resources