Answer the question
In order to leave comments, you need to log in
Why is the game not compiling?
I try to compile the game on the phone and gives this:
C:\Users\User\AppData\Local\Programs\Python\Python39\python.exe: can't open file 'C:\c': [Errno 2] No such file or directory
UnityEngine.GUIUtility:ProcessEvent (int, intptr,bool&)
CommandInvokationFailure: Failed to update Android SDK package list.
C:\Users\User\AppData\Local\Android\Sdk\cmdline-tools\latest\bin\sdkmanager.bat --list
stderr[
C:\Users\User\AppData\Local\Programs\Python\Python39\python. exe: can't open file 'C:\c': [Errno 2] No such file or directory
]
stdout[
]
exit code: 2
UnityEditor.Android.Command.WaitForProgramToRun(UnityEditor.Utils.Program p, UnityEditor.Android. Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <382250698ff94f2286c05c2b5942ed24>:0)
UnityEditor.Android.AndroidSDKTools.RunAndroid (StringNameSdk) System.String arguments, System.Boolean updateCommand, System.String errorMsg, System.String toolsDir, System.String[] warningsToIgnore) (at <382250698ff94f2286c05c2b5942ed24>:0)
UnityEditor.Android.AndroidSDKTools.ListComponentsVersions () (at <382250698ff94fc2286c04> 0)
UnityEditor.Android.SDKManager.UpdatePackagesList() (at<382250698ff94f2286c05c2b5942ed24>:0)
UnityEditor.Android.SDKManager.HighestVersionInstalled (UnityEditor.Android.SDKManager + Component tool) ( at <382250698ff94f2286c05c2b5942ed24>:0)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK SDKToolsDetector.GetVersion + () (AT <382250698ff94f2286c05c2b5942ed24>: 0)
UnityEditor. Android.PostProcessor.Tasks.CheckAndroidSDK+SDKComponentDetector.Detect (System.Version minVersion, UnityEditor.Android.PostProcessor.ProgressHandler onProgress) (at <382250698ff94f2286c05c2b5942ed24>:0)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidVersionSDK.ComponentSystemSDK.EnsureSDK , UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK+SDKComponentDetector detector) (at <382250698ff94f2286c05c2b5942ed24>:0)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <382250698ff94f2286c05c2b5942ed24>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityProcessor.Android.PostContext) <382250698ff94f2286c05c2b5942ed24>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Build completed with a result of 'Failed' in 2 seconds (1647 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
UnityEditor.BuildPlayerWindow+ BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002d8] in :0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question