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 manufacturer, I can’t remove it ( I could root this 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
Use Apktool to modify the package name and install it
Use apka editor available on Google play.
Else create Second space app on your phone and install it
Related
Hi,
This is my first post so first I'd like to say hello to all of users
I'd like to understand more how apk files are installed on android file system. So there go my questions:
1. After installation (via market for example) apk files are stored somewhere in file system - data/app for example from what i've heard - are those apk only backed up installation packages or actual "executable" and program itself?
2. Where are stored application settings, user preferences etc?
3. Is process of uninstallation always means removing ALL leftover from each application or after some time system gets cluttered with those (I know it is not windows with registry leftovers etc but even in linux from what i know there could be some problems if app won't remove all dependant libraries and file when uninstalling)
Thanks in advance
I want to install two versions of the same app in my android phone... but its not possible as both of them are having the same package name ....so if there exist any method so that i can change the app package name??....
hemant_jeengar said:
I want to install two versions of the same app in my android phone... but its not possible as both of them are having the same package name ....so if there exist any method so that i can change the app package name??....
Click to expand...
Click to collapse
Before you begin you need to install these two apks
1. Apk Editor.apk
2. Apk editor patch.apk
Installing same application twice
Now after downloading these two apks.
First, install Apk Editor and then the Apk editor patch.
Now open Apk editor and browse to the apk of the application you want to install.
Long press the apk and select "Clone".
Now change the name of the apk and press ok.
Now open your regular file manager and install the apk as you would normally
Source: http://swapmyapp.com/how-to/run-multiple-instances-of-one-app/
Google has the best answers!
Newyork! said:
Before you begin you need to install these two apks
1. Apk Editor.apk
2. Apk editor patch.apk
Installing same application twice
Now after downloading these two apks.
First, install Apk Editor and then the Apk editor patch.
Now open Apk editor and browse to the apk of the application you want to install.
Long press the apk and select "Clone".
Now change the name of the apk and press ok.
Now open your regular file manager and install the apk as you would normally
Source: http://swapmyapp.com/how-to/run-multiple-instances-of-one-app/
Google has the best answers!
Click to expand...
Click to collapse
Anyone knows of a solution for marshmallow?
Opening apk editor only gives empty folder.
On my previous phone I had installed Cyanogenmod 10.2.1.3-serranoltexx. This ROM contains a built-in browser "com.android.browser" (version 4.3.1.). I like this browser and I also want to install it, or a newer version, on my brand new rooted phone. Unfortunately I couldn't find it in the play store. Does anyone probably know where I can find the browser-APK?
I found the browser-APK in the cyanogenmod 10.2.1.3 zip-file and made a copy on the sdcard. But while installing I got the following error: "App not installed. An existing package by the same name is already installed”. I’ve searched on the root directory but I can’t find a file or app with the same name…
Is it possible to install the APK e.g. by renaming the package name? Or is there another work around to install the browser-APK?
NL_henk said:
On my previous phone I had installed Cyanogenmod 10.2.1.3-serranoltexx. This ROM contains a built-in browser "com.android.browser" (version 4.3.1.). I like this browser and I also want to install it, or a newer version, on my brand new rooted phone. Unfortunately I couldn't find it in the play store. Does anyone probably know where I can find the browser-APK?
I found the browser-APK in the cyanogenmod 10.2.1.3 zip-file and made a copy on the sdcard. But while installing I got the following error: "App not installed. An existing package by the same name is already installed”. I’ve searched on the root directory but I can’t find a file or app with the same name…
Is it possible to install the APK e.g. by renaming the package name? Or is there another work around to install the browser-APK?
Click to expand...
Click to collapse
Yes. You can install these browser apk by changing name and package name of app. You need to sign these apps too.
You can use apk editor app to change package name and it automatically sign your app.
Ashwinrg said:
Yes. You can install these browser apk by changing name and package name of app. You need to sign these apps too.
You can use apk editor app to change package name and it automatically sign your app.
Click to expand...
Click to collapse
Great! Do you also have some tutorial or website with more information?
I renamed the apk and all package names. Now I tried to recompile the APK, but I got an error: "Resource is not public".
How can I fix this?
Can't install app: "this package conflicts with an existing package by the same name"
I'm trying to install a YouTube mod and even though I uninstalled the original, I still can't install the new one because my phone claims that "this package conflicts with an existing package by the same name." How do I fix this?
I tried to install WA+ in my S7(non-edge) phone but I am getting the same error The package conflicts with an existing package by the same name. Since there is no way to uninstall the preinstalled WA, I disabled it but still the same error is there. I have seen people having WA+ in their phones without rooting or deleting the preinstalled version. What should I do?
Use a file browser to find the installation files directory (if you don't have a file browser, there are several available on the net, just install one). Look in that directory and see if there are any old .apk files for the same application. If there are, delete them. Your app should now install. This worked for me.
I have an APK that will not install. Just will not. "Package conflicts with another package with the same name", it says. The truth is that the package DOES NOT conflict with any package of the same name, but the system believes it does. So I need help. I've tried to troubleshoot this various ways, looking for any traces of old installations, but so far, I haven't been able to remove anything that makes a difference.
So listen, here's what I want to know. How do I manually install an apk? And when I say manually, I MEAN MANUALLY. I find all kinds of search results that claim to tell me how to manually install an APK, BUT THEY'RE LYING. They just tell me how to install an APK that I have downloaded using the existing system installer, WHICH DOESN'T HELP ME. Sorry, but I'm frustrated with all the guides that claim they're going to tell me what I need but don't deliver.
Manually. I mean manually. I want to put the APK into a folder in data/app, create any other folders that are needed, add the application info into whatever files Android has that tell it what is installed, do whatever else is necessary. I want to do a fully manual installation. No using the system installer. No using any root installers. Putting all the files where they go and making all the changes MANUALLY.
Can anyone please tell me how to do this?
Can you install the app via adb? adb install appname.apk? Sorry, I don't know how to install one manually. I understand what you're asking for but I don't know the answer.
I'd like to give the update that I did finally manage to install the app. I'm pretty sure what finally got me there was deleting its information from /data/system/packages.xml and rebooting. But I'd still like an answer to this question for the future. Failing that, though, if need arises, I would be inclined to take the steps in this guide, https://android.stackexchange.com/questions/200974/how-to-manually-remove-an-app, and follow them in reverse.
"Package conflicts with another package with the same name".
In fact, what identifies an app is its package id. So it means that they have a same package id.
For example, the package id for Instagram is 'com.instagram.android'.
FailSafeNow said:
I want to put the APK into a folder in data/app, create any other folders that are needed, add the application info into whatever files Android has that tell it what is installed, do whatever else is necessary. I want to do a fully manual installation. No using the system installer. No using any root installers. Putting all the files where they go and making all the changes MANUALLY.
Click to expand...
Click to collapse
I need a way to install an app manually without using package installer, by putting the apk and any related files in the correct places, anyone know how to do this? i have a rooted phone, I'm just not sure which files need to be edited so the phone "knows" the app is installed. Please help! Thanks!