UnityException: Unable to install APK! Installation failed. See the Console for details

I got this error message when trying to build and run on Android actual device.

UnityException: Unable to install APK!
Installation failed. See the Console for details.
UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message, System.Exception ex)
UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message)
UnityEditor.Android.PostProcessAndroidPlayer.UploadAndStartPlayer (System.String manifestName, System.String stagingArea, UnityEditor.Android.AndroidDevice device, System.String packageName, Boolean devPlayer, Boolean retryUpload)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
UnityEditor.HostView:OnGUI()

Why it happens? Please advice. Thank you.

@datomnurdin and @Nikunj Kareliya :
This problem occurs when you sometimes replicate a previous project, and start working on it as a new project.
I faced the same problem because have installed my previous game on my device.

  1. you could rather uninstall previous app from your device.

However ,i haven’t tried to change other settings of newly project, may be that could solve aswell.

Try setting the Install Location (In Player Settings) to “Automatic”

@datomnurdin :
@Nikunj Kareliya :

Also read this:
Source

Try to increase your bundle version code. if your phone has lower bundle version code is not possible to insttall.

It also happenes when minimum API level (Player Settings → Other Settings → Identification) is higher than system version on used device.