Hi.
I'm new to game development. I've recently imported the Google Admob plugin for unity into my unity project. It asked for a few permissions, then did some resolving. After that my console window fills up with the following errors:
Assembly 'Assets/ExternalDependencyManager/Editor/1.2.167/Google.IOSResolver.dll' will not be loaded due to errors:
Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Failed with exception GooglePlayServices.JavaUtilities+ToolNotFoundException: jar not found, A:\Unity\Editors\2020.3.21f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK references incomplete Java distribution.
at GooglePlayServices.JavaUtilities.FindJavaTool (System.String javaTool) [0x000b3] in Z:\tmp\tmp.NEyie963Jd\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\JavaUtilities.cs:170
at GooglePlayServices.JavaUtilities.get_JarBinaryPath () [0x00000] in Z:\tmp\tmp.NEyie963Jd\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\JavaUtilities.cs:100
at GooglePlayServices.PlayServicesResolver.ExtractZip (System.String zipFile, System.Collections.Generic.IEnumerable`1[T] extractFilenames, System.String outputDirectory, System.Boolean update) [0x000cd] in Z:\tmp\tmp.NEyie963Jd\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2835
UnityEngine.Debug:Log (object)
Google.Logger:Log (string,Google.LogLevel) (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/Logger.cs:124)
GooglePlayServices.PlayServicesResolver:Log (string,Google.LogLevel) (at Z:/tmp/tmp.NEyie963Jd/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/PlayServicesResolver.cs:1055)
GooglePlayServices.PlayServicesResolver:ExtractZip (string,System.Collections.Generic.IEnumerable`1,string,bool) (at Z:/tmp/tmp.NEyie963Jd/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/PlayServicesResolver.cs:2846)
Google.GradleWrapper:Extract (Google.Logger) (at Z:/tmp/tmp.NEyie963Jd/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleWrapper.cs:100)
GooglePlayServices.GradleResolver:GradleResolution (string,string,bool,bool,System.Action`1) (at Z:/tmp/tmp.NEyie963Jd/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleResolver.cs:332)
GooglePlayServices.GradleResolver:DoResolutionUnsafe (string,bool,System.Action) (at Z:/tmp/tmp.NEyie963Jd/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleResolver.cs:928)
GooglePlayServices.GradleResolver/c__AnonStorey7:<>m__0 () (at Z:/tmp/tmp.NEyie963Jd/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleResolver.cs:819)
Google.RunOnMainThread:ExecuteNext () (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:486)
Google.RunOnMainThread:m__1 () (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:536)
Google.RunOnMainThread:RunAction (System.Action) (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:343)
Google.RunOnMainThread:ExecuteAllUnnested (bool) (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:530)
Google.RunOnMainThread:ExecuteAll () (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:512)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
Job failed with exception: GooglePlayServices.JavaUtilities+ToolNotFoundException: jar not found, A:\Unity\Editors\2020.3.21f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK references incomplete Java distribution.
at GooglePlayServices.PlayServicesResolver.ExtractZip (System.String zipFile, System.Collections.Generic.IEnumerable`1[T] extractFilenames, System.String outputDirectory, System.Boolean update) [0x00132] in Z:\tmp\tmp.NEyie963Jd\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2847
at Google.GradleWrapper.Extract (Google.Logger logger) [0x00000] in Z:\tmp\tmp.NEyie963Jd\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\GradleWrapper.cs:100
at GooglePlayServices.GradleResolver.GradleResolution (System.String destinationDirectory, System.String androidSdkPath, System.Boolean logErrorOnMissingArtifacts, System.Boolean closeWindowOnCompletion, System.Action`1[T] resolutionComplete) [0x00093] in Z:\tmp\tmp.NEyie963Jd\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\GradleResolver.cs:332
at GooglePlayServices.GradleResolver.DoResolutionUnsafe (System.String destinationDirectory, System.Boolean closeWindowOnCompletion, System.Action resolutionComplete) [0x000bc] in Z:\tmp\tmp.NEyie963Jd\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\GradleResolver.cs:928
at GooglePlayServices.GradleResolver+c__AnonStorey7.<>m__0 () [0x00000] in Z:\tmp\tmp.NEyie963Jd\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\GradleResolver.cs:819
at Google.RunOnMainThread.ExecuteNext () [0x0003d] in Z:\tmp\tmp.cirhDnLU30\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\RunOnMainThread.cs:486
UnityEngine.Debug:LogError (object)
Google.RunOnMainThread:ExecuteNext () (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:488)
Google.RunOnMainThread:m__1 () (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:536)
Google.RunOnMainThread:RunAction (System.Action) (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:343)
Google.RunOnMainThread:ExecuteAllUnnested (bool) (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:530)
Google.RunOnMainThread:ExecuteAll () (at Z:/tmp/tmp.cirhDnLU30/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:512)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
Any help would be appreciated!
Any help would be appreciated!