【问题标题】:GoogleAdMob Plugin Unity. Resolving Android Dependencies. InvalidOperationException: StandardIn has not been redirectedGoogleAdMob 插件统一。解决 Android 依赖项。 InvalidOperationException:StandardIn 尚未重定向
【发布时间】:2019-01-25 02:18:30
【问题描述】:

我正在使用 Unity 2018.3.0f2,并且在安装 Google Mobile Ads Unity Plugin v3.15.1 的过程中,出现了几次空的 cmd 提示,并且 Resolving Android Dependencies Windows 出现、冻结和错误

InvalidOperationException: StandardIn has not been redirected. 
System.Diagnostics.Process.get_StandardInput () (at <3845a180c26b4889bc2d47593a665814>:0)

显示在控制台中。

我已经查找了解决此问题的方法,但根本没有提到这个 StandardIn。

这是显示的完整错误:

InvalidOperationException: StandardIn has not been redirected.
System.Diagnostics.Process.get_StandardInput () (at <3845a180c26b4889bc2d47593a665814>:0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process.get_StandardInput()
GooglePlayServices.CommandLine.RunViaShell (System.String toolPath, System.String arguments, System.String workingDirectory, System.Collections.Generic.Dictionary`2[TKey,TValue] envVars, GooglePlayServices.CommandLine+IOHandler ioHandler, System.Boolean useShellExecution, System.Boolean stdoutRedirectionInShellMode) (at <0ea28fee5338451fbecc93319b91e068>:0)
GooglePlayServices.CommandLine.Run (System.String toolPath, System.String arguments, System.String workingDirectory, System.Collections.Generic.Dictionary`2[TKey,TValue] envVars, GooglePlayServices.CommandLine+IOHandler ioHandler) (at <0ea28fee5338451fbecc93319b91e068>:0)
GooglePlayServices.CommandLine+<RunAsync>c__AnonStorey1.<>m__0 () (at <0ea28fee5338451fbecc93319b91e068>:0)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ThreadHelper.ThreadStart () (at <ac823e2bb42b41bda67924a45a0173c3>:0)
UnityEngine.UnhandledExceptionHandler:<RegisterUECatcher>m__0(Object, UnhandledExceptionEventArgs)

如果有人有任何很棒的建议。谢谢!

【问题讨论】:

    标签: java c# android unity3d sdk


    【解决方案1】:

    这听起来可能有点奇怪,但我已通过从 Unity 项目文件夹名称中删除任何标点符号来解决问题,在我的情况下,它是一个撇号。

    还要确保您已设置 jdk、jre 和 JAVA_HOME 的路径。

    希望对你有帮助!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-09-25
      • 2018-02-27
      • 2015-06-24
      相关资源
      最近更新 更多