Задать вопрос
@iproyt

Почему не компилируется игра?

62387cec6fa0a029841066.png

Пробую скомпилировать игру на телефон и выдает это:
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 <382250698ff94f2286c05c2b5942ed24>:0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <382250698ff94f2286c05c2b5942ed24>:0)
UnityEditor.Android.AndroidSDKTools.RunAndroidSdkTool (System.String toolName, System.String arguments, System.Boolean updateCommand, System.String errorMsg, System.String toolsDir, System.String[] warningsToIgnore) (at <382250698ff94f2286c05c2b5942ed24>:0)
UnityEditor.Android.AndroidSDKTools.ListComponentsVersions () (at <382250698ff94f2286c05c2b5942ed24>: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.CheckAndroidSDK.EnsureSDKComponentVersion (System.Version minVersion, 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 (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <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&)

есть jdk sdk, помогите пожалуйста
  • Вопрос задан
  • 63 просмотра
Подписаться 1 Простой Комментировать
Решения вопроса 1
freeExec
@freeExec
Участник OpenStreetMap
can't open file 'C:\c': [Errno 2] No such file or directory
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы