gpt4 book ai didi

c# - 如果此构建错误不断重复,我该怎么办

转载 作者:行者123 更新时间:2023-11-30 05:12:27 25 4
gpt4 key购买 nike

嘿,我尝试在 unity 中构建一个 apk,但它有错误。我该怎么做才能解决这个问题?

Win32Exception: Access is denied.

System.Diagnostics.Process.Start_shell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)
System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)
System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo)
UnityEditor.Android.ADB.StartServer (UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit)
UnityEditor.Android.ADB.Run (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidDeploymentTargetsExtension.GetKnownTargets (IDeploymentTargetsMainThreadContext context, UnityEditor.ProgressHandler progressHandler)
UnityEditor.DeploymentTargets.DeploymentTargetManager.GetKnownTargets () (at C:/buildslave/unity/build/Editor/Mono/DeploymentTargets/DeploymentTargetManager.cs:50)
UnityEditor.Android.AndroidBuildWindowExtension+<SpawnFetchTargetsThread>c__AnonStorey0.<>m__0 ()
UnityEditor.Android.<SpawnFetchTargetsThread>c__AnonStorey0:<>m__0()

最佳答案

我有同样的错误,我通过以 administrator 运行 cmd 重新安装 Android SDK 解决了这个问题。

希望对您有所帮助!

关于c# - 如果此构建错误不断重复,我该怎么办,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53493329/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com