Hello all,
Last week I was attempting to utilize Firebase with my game. I downloaded some google files, and messed around a little bit with them, and momentarily got it working. However, I don’t exactly remember what my next steps were, other than their result is this error message.
To clarify, I have tried the following steps (I am on Windows 10):
- Updated Unity Hub
- Uninstalled and reinstalled unity versions (2019.4.22f1 and 2020.2.7f1). This project is on 2019.4.22f1
- Uninstalled and reinstalled Android Studio
- Updated all the SDKs through Android Studio
I have read through this error message and can’t quite figure out the problem. Could I get another pair of eyes on this? The best I can come up with is to “fix” my SDK files, but I have no idea how to or where to do that.
ERROR HERE:
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:/Program Files/Unity/Hub/Editor/2019.4.22f1/Editor/Data/PlaybackEngines/AndroidPlayer\SDK\platform-tools\adb.exe -s “NIWA430091” install -r -d “C:\Users[USERNAME]\Desktop\Important Stuff\Unity\Stardrive_Characters\Builds\AndroidBuild\Stardrive_C_vdot1.apk”
stderr[
adb: failed to install C:\Users[USERNAME]\Desktop\Important Stuff\Unity\Stardrive_Characters\Builds\AndroidBuild\Stardrive_C_vdot1.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.BesonamyStudios.stardrivecharacters signatures do not match the previously installed version; ignoring!]
]
stdout[
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.ADB.RunInternal (System.String[ ] command, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.ADB.Run (System.String[ ] command, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.AndroidDevice.Exec (System.String[ ] command, System.String errorMsg) (at :0)
UnityEditor.Android.AndroidDevice.Install (System.String apkfile) (at :0)
UnityEditor.Android.AndroidDeploymentTargetsExtension+<>c__DisplayClass16_0.b__0 () (at :0)
UnityEditor.Android.AndroidDeploymentTargetsExtension.UploadAPK (UnityEditor.Android.AndroidBuildProperties buildProperties, UnityEditor.Android.AndroidDevice device, UnityEditor.Android.AndroidDeploymentTargetsExtension+LaunchProgressTaskManager taskManager) (at :0)
UnityEditor.Android.AndroidDeploymentTargetsExtension+<>c__DisplayClass12_1.b__2 () (at :0)
UnityEditor.ProgressTaskManager.Run () (at <4a1b55d6b009421a9ad1d16b54b782d5>:0)
UnityEditor.Android.AndroidDeploymentTargetsExtension.LaunchBuildOnTarget (UnityEditor.DeploymentTargets.IDeploymentTargetsMainThreadContext context, UnityEditor.BuildProperties buildProperties, UnityEditor.DeploymentTargets.DeploymentTargetId targetId, UnityEditor.ProgressHandler progressHandler) (at :0)
UnityEditor.DeploymentTargets.DeploymentTargetManager.LaunchBuildOnTarget (UnityEditor.BuildProperties buildProperties, UnityEditor.DeploymentTargets.DeploymentTargetId targetId, UnityEditor.ProgressHandler progressHandler) (at <4a1b55d6b009421a9ad1d16b54b782d5>:0)
UnityEditor.PostprocessBuildPlayer+<>c__DisplayClass19_1.b__1 () (at <4a1b55d6b009421a9ad1d16b54b782d5>:0)
UnityEditor.ProgressTaskManager.Run () (at <4a1b55d6b009421a9ad1d16b54b782d5>:0)
UnityEditor.PostprocessBuildPlayer.LaunchOnTargets (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget buildTarget, UnityEditor.Build.Reporting.BuildReport buildReport, System.Collections.Generic.List`1[T] launchTargets) (at <4a1b55d6b009421a9ad1d16b54b782d5>:0)
UnityEditor.Android.PostProcessAndroidPlayer.Launch (UnityEditor.BuildTarget target, System.String installPath, UnityEditor.Build.Reporting.BuildReport report) (at :0)
UnityEditor.Android.AndroidBuildPostprocessor.LaunchPlayer (UnityEditor.Modules.BuildLaunchPlayerArgs args) (at :0)
UnityEditor.PostprocessBuildPlayer.Launch (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget buildTarget, System.String path, System.String productName, UnityEditor.BuildOptions options, UnityEditor.Build.Reporting.BuildReport buildReport) (at <4a1b55d6b009421a9ad1d16b54b782d5>:0)