Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/209.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/unity3d/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Unity 2019.3作业失败,出现异常:GooglePlayServices.JavaUtilities+ToolNotFoundException:jar未找到_Android_Unity3d_Sdk_Google Play Services_Google Play Games - Fatal编程技术网

Android Unity 2019.3作业失败,出现异常:GooglePlayServices.JavaUtilities+ToolNotFoundException:jar未找到

Android Unity 2019.3作业失败,出现异常:GooglePlayServices.JavaUtilities+ToolNotFoundException:jar未找到,android,unity3d,sdk,google-play-services,google-play-games,Android,Unity3d,Sdk,Google Play Services,Google Play Games,我正在尝试构建我的Unity项目,我通过collab系统与另一个开发人员合作。他们没有任何问题,我们使用的是完全相同的项目版本,但是,我每次打开项目时都会遇到此错误,并且无法找到修复方法。我尝试过重新安装Unity,并对JDK/SDK选项进行了一些修改,但没有任何效果 我很确定Google Play服务插件有问题,我也不确定是否通过Firebase删除了一些依赖项 错误如下:作业失败,出现异常:GooglePlayServices.JavaUtilities+ToolNotFoundExcept

我正在尝试构建我的Unity项目,我通过collab系统与另一个开发人员合作。他们没有任何问题,我们使用的是完全相同的项目版本,但是,我每次打开项目时都会遇到此错误,并且无法找到修复方法。我尝试过重新安装Unity,并对JDK/SDK选项进行了一些修改,但没有任何效果

我很确定Google Play服务插件有问题,我也不确定是否通过Firebase删除了一些依赖项

错误如下:作业失败,出现异常:GooglePlayServices.JavaUtilities+ToolNotFoundException:jar未找到。 在Z:\tmp\tmp.ab7x7pd8vv\third\u party\unity\unity\u jar\u resolver\source\PlayServicesResolver\src\PlayServicesResolver.cs:2437中的GooglePlayServices.PlayServicesResolver.ExtractZip System.String zipFile,System.Collections.Generic.IEnumerable1[T]extractFilenames,System.String输出目录,System.String.Boolean更新[0x00132] 在Z:\tmp\tmp.ab7x7pd8vv\third\u party\unity\unity\u jar\u resolver\source\PlayServicesResolver\src\GradleWrapper.cs:100中的Google.GradleWrapper.Extract Google.Logger Logger[0x00000]中 在GooglePlayServices.GradleResolver.GradleResolution System.String destinationDirectory,System.String androidSdkPath,System.Boolean logErrorOnMissingArtifacts,System.Boolean closeWindowOnCompletion,System.Action1[T]resolutionComplete[0x00093]在Z:\tmp\tmp.ab7x7pd8vv\third\u party\unity\unity\u jar\u resolver\source\PlayServicesResolver\src\GradleResolver.cs:267中 在Z:\tmp\tmp.ab7x7pd8vv\third\u party\unity\unity\u jar\u resolver\source\PlayServicesResolver\src\GradleResolver.cs:820中的GooglePlayServices.GradleResolver.doresolutiononnsafe System.String destinationDirectory,System.Boolean closeWindowOnCompletion,System.Action resolutionComplete[0x000bc] 在Google PlayServices.GradleResolver+c_uAnonStorey5.m_uu0[0x00000]中的Z:\tmp\tmp.ab7x7pd8vv\third\u party\unity\unity\u jar\u resolver\source\PlayServicesResolver\src\GradleResolver.cs:710 位于Z:\tmp\tmp.c5cHAkrYVv\third\u party\unity\unity\u jar\u resolver\source\versionhandlerimp\src\RunOnMainThread.cs:377中的Google.RunOnMainThread.ExecuteNext[0x0003d] 调试:LogErrorObject Google.RunOnMainThread:executeext at Z:/tmp/tmp.c5cHAkrYVv/third_party/unity/unity_jar_解析器/source/VersionHandlerImpl/src/RunOnMainThread.cs:379 Google.RunOnMainThread:m_uu1 at Z:/tmp/tmp.c5cHAkrYVv/third_party/unity/unity_jar_解析器/source/VersionHandlerImpl/src/RunOnMainThread.cs:408 Google.RunOnMainThread:RunActionAction位于Z:/tmp/tmp.c5cHAkrYVv/third_party/unity/unity_jar_解析器/source/VersionHandlerImpl/src/RunOnMainThread.cs:234 Google.RunOnMainThread:ExecuteAll at Z:/tmp/tmp.c5cHAkrYVv/third_party/unity/unity_jar_解析器/source/VersionHandlerImpl/src/RunOnMainThread.cs:406 Google.RunOnMainThread:RunAction,Z处的布尔值:/tmp/tmp.c5cHAkrYVv/third_party/unity/unity_jar_解析器/source/VersionHandlerImpl/src/RunOnMainThread.cs:363 Google PlayServices.GradleResolver:DoResolutionString,布尔值,Z处的操作:/tmp/tmp.ab7x7pd8vv/third_party/unity/unity_jar_解析器/source/PlayServicesResolver/src/GradleResolver.cs:709 Google PlayServices.PlayServicesResolver:ResolveUnsafeAction1,布尔值,布尔值,Z处的布尔值:/tmp/tmp.ab7x7pd8vv/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/PlayServicesResolver.cs:1786 GooglePlayServices.c__Anostorey5:m__0 at Z:/tmp/tmp.ab7x7pd8vv/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/PlayServicesResolver.cs:1604 GooglePlayServices.PlayServicesResolver:ExecuteExtresolveJob at Z:/tmp/tmp.ab7x7pd8vv/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/PlayServicesResolver.cs:1461 Google PlayServices.PlayServicesResolver:ScheduleSolveBoolean,Boolean,Action1,Z处的Boolean:/tmp/tmp.ab7x7pd8vv/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/PlayServicesResolver.cs:1617 GooglePlayServices.PlayServicesResolver:AutoResolveAction at Z:/tmp/tmp.ab7x7pd8vv/third_party/unity/unity_jar_解析器/source/PlayServicesResolver/src/PlayServicesResolver.cs:1134 Google PlayServices.PlayServicesResolver:m_u8 at Z:/tmp/tmp.ab7x7pd8vv/third_party/unity/unity\u jar_解析器/source/PlayServicesResolver/src/PlayServicesResolver.cs:1113 Google.RunOnMainThread:ExecutePollingJobs at Z:/tmp/tmp.c5cHAkrYVv/third_party/unity/unity_jar_解析器/source/VersionHandlerImpl/src/RunOnMainThread.cs:300 Google.RunOnMainThread:m_uu1 at Z:/tmp/tmp.c5cHAkrYVv/third_party/unity/unity_jar_解析器/source/VersionHandlerImpl/src/RunOnMainThread.cs:414 Google.RunOnMainThread:RunActionAction位于Z:/tmp/tmp.c5cHAkrYVv/third_party/unity/unity_jar_解析器/source/VersionHandlerImpl/src/RunOnMainThread.cs:234 Google.RunOnMainThread:ExecuteAll at Z:/tmp/tmp.c5cHAkrYVv/third\u party/unity/unity\u jar\u resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs: 406 UnityEditor.EDITOR应用程序:内部更新函数

另外,我的设备上没有Z驱动器


谢谢

在花了很长时间试图修复此问题,然后决定发布此请求后,我成功地修复了它

不是100%确定我是怎么做到的,但当我切换到另一个场景并尝试进入播放模式时,Android依赖解析程序打开并扫描问题,找到一些问题,然后修复它们

希望这足以帮助任何遇到类似问题的人