Hi all,
I have been trying to install the app I developed on my google pixel 4a but fortunately I can't install the app due to the error " the package conflicts with the existing package name "
how can I overcome this
Thanks
It appears the package name you have for the new app is the same as another app you already have installed on your device.
So, you need to change the package name of the new app you are developing to a name that is unique just for your app so that it is not the same as any other app.
Rename package in Android Studio
How do you rename packages in the new IDE Android Studio, based on IntelliJ IDEA? Is there an automatic refactoring included? I want to make bulk refactoring, but I don't know how. I worked two ...
stackoverflow.com
Related
Hi,
I want to mod Whatsapp on my own without using third party apps such as GBwhatsapp , Whatsapp plus, parallel space apk, appcloner apk...etc. I want to know how they do it.
What i Found
I tried using an android application that clones whatsapp and found there is two methods used:
1. Workspace Method: Parallel Space installs whatsapp in the root folder of the Parallel space application it self without changing in the code or any thing. There is several apps that do the same. ( I am not interested in this method)
2. Apk editing method: Appcloner apk, it clones whatsapp to a different name and allows modification to the app, but on one condition the original whatsapp version must be installed in order to verify the whatsapp number. (This is what i am trying to do manually) but i need to solve the problem where i dont need to install the original app in order to work(gbwhatsapp solved this problem but how?)
What i tried:
A.
I tried decompiling the whatsapp using (apktool, ApkEdit) then signing the app using zipsigner. The app gets installed but the problem is i cant get pass whatsapp verification number it gives an error and returns whatsapp to the first page:
"Something is wrong with your version of whatsapp. Please download the latest version from our website: https://whatsapp.com/android."
This is the error that i face and i want a fix for it.
B.
I used zipsigner on the original whatsapp apk file and signed the apk with new signiture then installed the app. I found that it gave the same error as above.
Conclusion:
Changing whatsapp apk signature prevents you from verifying the whatsapp number.
Can any one provide us with a fix how can we do this and mod our own version of whatsapp. I presume there is something to do with exposed since i found exposed modules in the decompiled folder for the cloned Whatsapp apk by appcloner and the apk gbwhatsapp.
Thanks
Related post:
https://forum.xda-developers.com/android/general/how-to-mod-whatsapp-t3872019
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.
Hi! I have LG VN220, and I would like to install google play services on it so that I can run android auto, I've found a site that made an installer for android to install google play services, store, and framework. In order to install an app on the VN220, the package name has to be renamed to com.android.cts.YOURPACKAGENAME. I was able to rename the the installer apk, so the installer runs, the problem arises when the installer tries to stream apk's to androids package installer I get an error that "Your Administrator doesn't allow installation of apps obtained from unknown sources" (There's not setting to allow installation, the only was to do it is thru changing the package name to the above). So here's the question: Can someone who has a basic knowledge of reverse engineering apps rename all the packages to com.android.cts.googleinstaller so all the apps will install on my phone?
p.s. all of the lettering is in chinese because the apk was originally developed for the chinese xiaomi phones.
I found The apk file on this XDA Thread: https://forum.xda-developers.com/t/...install Google Play,and Framework when we OTA.
For security, each Android phone by default is set to block installation of apps obtained from unknown sources, means not from Google Play Store.
All you've to do is to check in Android settings "allow installation of apps from sources other than Google Play Store".
xXx yYy said:
For security, each Android phone by default is set to block installation of apps obtained from unknown sources, means not from Google Play Store.
All you've to do is to check in Android settings "allow installation of apps from sources other than Google Play Store".
Click to expand...
Click to collapse
That is true with a regular android device, The LG Exalt/VN220 runs on a locked down version of android 5, and does not allow installation of apps unless you rename the package to com.android.cts.yourapp which bypasses the signature check (without that you can only install apps signed by LG or Verizon) If anyone can go thru the apk and change the package name on all the built in apk's to the above, or if someone can tell me how to do it. Thanks!
Hello members,
Very new to the forum, so please pardon any mistakes.
I am not able to find appropriate forum to ask this specific question.
Every Android device has playstore (aka Google Play) installed in them by default. Playstore app is an apk in itself (package name: com.android.vending).
I am on Android 8 version right now. Tried searching on following locations but failed:
- /data/data/<package name>/
- /data/app/
- /system/app/
- /data/local/
but failed to find apk of playstore.
system/priv-app/phonesky
shiv.ang said:
Every Android device has playstore (aka Google Play) installed in them by default.
Click to expand...
Click to collapse
That's not always true. When flashing replacement ROMs, the base Android does NOT come with the Google apps including the Google Play Store. That's why we go to the Open GApps website and download a collection of apps for a specific device architecture and Android version.
The Open GApps Project
OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.
opengapps.org
SteinbeckFan said:
That's not always true. When flashing replacement ROMs, the base Android does NOT come with the Google apps including the Google Play Store. That's why we go to the Open GApps website and download a collection of apps for a specific device architecture and Android version.
The Open GApps Project
OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.
opengapps.org
Click to expand...
Click to collapse
This case stands true when I root the device with replacement ROMs.
I can have playstore if I don't replace the OS. Please correct me if I am wrong. ( I think this is possible if we just use twrp with recovery and install SuperSu/Magisk but please feel to comment as I am new to rooting.)
In that case, I wanted to know apk location for com.android.vending
tutibreaker said:
system/priv-app/phonesky
Click to expand...
Click to collapse
Thank you. I will check this location on device without stockROMs.
For my current setup, this location was missing. As @SteinbeckFan said, the OS that I installed did not had playstore and hence this location was missing.
shiv.ang said:
Hello members,
Very new to the forum, so please pardon any mistakes.
I am not able to find appropriate forum to ask this specific question.
Every Android device has playstore (aka Google Play) installed in them by default. Playstore app is an apk in itself (package name: com.android.vending).
I am on Android 8 version right now. Tried searching on following locations but failed:
- /data/data/<package name>/
- /data/app/
- /system/app/
- /data/local/
but failed to find apk of playstore.
Click to expand...
Click to collapse
Good question. As you will find it in the root setting of the mobile. Lets go to the the setting and check the downloaded apps. It will be there. Like if you download bike rivals modded so it will be there in the downloaded app with the same name.
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.