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)
Why it happens? Please advice. Thank you.
Answer by Esildorr
May 27, 2015 at 02:31 PM
Try setting the Install Location (In Player Settings) to "Automatic"
i will try it first sir.
It's not working in my case ! same message displayed ! I changed install location to 'Automatic'.
Let me know, if anyone here fixed it.
Thanks worked for me.
Answer by umair_hassan
Nov 27, 2015 at 10:06 AM
@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.
For me, I think it solved itself when I changed the Facebook settings (changed app-id and app-name). Also I had already changed the app package-name
@datomnurdin : @Nikunj Kareliya :
Also read this: Source
Answer by Usko
Dec 26, 2015 at 11:20 AM
Try to increase your bundle version code. if your phone has lower bundle version code is not possible to insttall.
Answer by Meic
Feb 04, 2016 at 06:41 PM
It also happenes when minimum API level (Player Settings -> Other Settings -> Identification) is higher than system version on used device.
Didnt realize that the ID setting was 5.1 when my phone is 5.0. Cheers
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
10 People are following this question.
How to edit an animation in unity animation system by using script?
Restore IAP in Android using Prime 31
Increase volume when key is down and decrease volume when key is up
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 9e5efff0