UNITY win32exception:系统找不到指定的文件

时间:2019-04-04 08:34:46

标签: c# unity3d mobile admob googlemobileads

我将Google Mobile Ads插件添加到了Unity项目中,现在每隔几秒钟就会抛出一次此错误。 Android依赖关系已成功解决。我找不到解决方案。另外,在整合AdMob之前,我已经添加了Google Play游戏服务。

因此,我无法构建自己的游戏。构建完成,但文件未准备好。我正在运行Unity 2018.1Of2。

我确实更改了PListProcessor的代码(Assets \ GoogleMobileAds \ Editor \ PListProcessor.cs)。当我在Windows机器上构建Android游戏时,它抛出有关Unity.iOS.XCode的使用的错误。我删除了该行,并删除了错误。

Win32Exception: The system cannot find the file specified.

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 ()
(wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
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 (UnityEditor.ProgressHandler progressHandler)
UnityEditor.DeploymentTargets.DeploymentTargetManager.GetKnownTargets (BuildTargetGroup targetGroup, BuildTarget buildTarget) (at C:/buildslave/unity/build/Editor/Mono/DeploymentTargets/DeploymentTargetManager.cs:58)
UnityEditor.Android.AndroidBuildWindowExtension+<SpawnFetchTargetsThread>c__AnonStorey0.<>m__0 ()
UnityEditor.Android.<SpawnFetchTargetsThread>c__AnonStorey0:<>m__0()

您的帮助将不胜感激。我的项目已经完成,无法构建。

0 个答案:

没有答案