If you have ever encountered the “The package conflicts with an existing package by the same name” error while installing or side-loading an APK file on your Android device, you are not alone.


Why the Error: “App Not Installed as Package Conflicts with an Existing Package by the Same Name” occurs?

The “App Not Installed as Package Conflicts with an Existing Package” error occurs when the package name of the APK file being installed conflicts with the package name of an existing app on the device.

In Android, each app is identified by a unique package name, which is specified in the AndroidManifest.xml file within the APK. When you try to install an APK file, the package name is checked to ensure that it doesn’t conflict with any existing apps on the device.

If a conflict is detected, the installation fails with the error message “App Not Installed as Package Conflicts with an Existing Package.”


How to Solve “The Package Conflicts with an Existing Package by the Same Name” Error for APK Sideload:

The error “app not installed as package conflicts with an existing package occurs when you attempt to install a new APK of an app that is already installed on your phone.

Although the most obvious solution is to uninstall the app and then install the new APK, but this doesn’t always work.

Most obvious Solution:

1) Uninstall the existing app with the same package name before installing the new APK file.

2) Change the package name in the AndroidManifest.xml file of the new APK and then recompile and generate a new APK.

3) Use an app installer tool, such as "APK Installer," that can handle package conflicts and install the new APK file without issue.

Anyway if this solution does not work to to solve the Problem of an App does not Install – as a Package Conflicts occurs with an Existing Package – we have two fixes for you below!

Please NOTE: Changing the package name of an app can cause issues with other apps that depend on the original package name. So, if you are developing an app and need to change the package name, it’s important to do so carefully and thoroughly test the app to ensure that it still functions correctly.


Normal Solution not Working? – FIX for “Package Conflict Error with an Existing Package by the Same Name”

If you are still facing the error even after uninstalling the app, don’t worry. In this tutorial, I will guide you on how to fix this error without using any third-party app or rooting your device. Follow the simple steps below to resolve the issue and install any APK you want.

Solution 1:

1) Disable any lock screen security and pin code on your phone.

2) Add the APK shortcut to the home screen.

3) Reboot your device.

4) Once your device is up and running, quickly tap on the APK shortcut to start the installation.


Solution 2:

1) Install APK Editor from the Play Store.

2) Open the app and tap on "Select APK" (1st option).

3) Choose the APK you want to install and tap on "Common Edit."

4) Tap "Install Location" and change it from "Default" to "Internal Only."

5) Wait until it's edited and try installing the APK.

That’s it! Your APK should now be installed successfully.


Video Tutorial

App Not Installed as Package Conflicts with an Existing Package Android apk Error Solved


Prevent the ‘App Not Installed’ Error on Android Devices: Tips for Avoiding Package Conflicts and Ensuring Successful App Installation

To prevent “The installation of the Android app was unsuccessful due to a package conflict with an existing app on the device” error from occurring in the future, you should follow these steps:

  1. Choose a unique package name for your app: When developing an Android app, it’s important to choose a unique package name for your app to avoid conflicts with other apps that may be installed on users’ devices. You should choose a package name that’s specific to your app and that isn’t used by any other apps on the Google Play Store.
  2. Use a different package name for modified apps: If you’re modifying an existing app, you should use a different package name for the modified version of the app. This will avoid conflicts with the original app and will prevent the “App Not Installed as Package Conflicts with an Existing Package” error from occurring.
  3. Uninstall conflicting apps: If you encounter the “App Not Installed as Package Conflicts with an Existing Package” error while installing an app, you should check to see if you have any other apps installed on your device that have the same package name. If you do, you should uninstall those apps before trying to install the new app.
  4. Use an app installer tool: Some app installer tools, such as “APK Installer,” can handle package conflicts and install the new app without issue. You may want to consider using one of these tools if you frequently encounter package conflicts when installing APK files.


James R. Kinley - It Admin

James R. Kindly

My Name is James R. Kindly i am the founder and primary author of Storaclix, a website dedicated to providing valuable resources and insights on Linux administration, Oracle administration, and Storage. With over 20 years of experience as a Linux and Oracle database administrator, i have accumulated extensive knowledge and expertise in managing complex IT infrastructures and databases.

Save 30% on Apple AirPods Pro

Get the coolest AirPods ever released for:  $179,99  instead $249

  • Active Noise Cancellation blocks outside noise
  • Transparency mode for hearing and interacting with the world around you
  • Spatial audio with dynamic head tracking places sound all around you