- Home /
apk unable to install see console ive tried everything please help am really frustrated
CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. C:\Users\taata\AppData\Local\Android\sdk\platform-tools\adb.exe -s "84f25448" install -r "C:\Users\taata\Desktop\speedfreak.apk"
stderr[ Invalid APK file: C:\Users\taata\Desktop\speedfreak.apk ] stdout[
] exit code: 1 UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.ADB.RunInternal (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.ADB.Run (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidDevice.Exec (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidDevice.Install (System.String apkfile, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit) UnityEditor.Android.PostProcessor.Tasks.PublishPackage.UploadAPK (Boolean retryUpload) UnityEditor.Android.PostProcessor.Tasks.PublishPackage.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
These 3 three steps always works for me in this kind of problem:
Check the device a. Device is connected properly. b. Enable USB Debugging $$anonymous$$ode on. c. Re start Device.
Update Android SD$$anonymous$$.
Re start Unity.
Try if this help.
Answer by ExtinctSpecie · Mar 09, 2017 at 12:27 PM
i had the same issue you probably updated android sdk to latest version and unity throws an error downgrade your sdk and this will fix
Your answer
Follow this Question
Related Questions
Android Emulator fails to install Unity .apk 0 Answers
Size of texture after building too big 2 Answers
Android build reports "Wrong task initialization" 1 Answer
Android apk build can install but won't start. 2 Answers
APK is installed but does not show the application and does not open either. 1 Answer