Hi,
I’m unable to switch my Platform to Android. My console get spammed with “ToolNotFoundException: jar not found.”
-
“Edit->Preferences->External Tools->Use embedded JDK” is checked
-
My JAVA_HOME environment variable is set to the Unity embedded JDK “C:\Program Files\Unity\Hub\Editor\2018.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\OpenJDK\Windows”
-
PATH environment variable includes %JAVA_HOME%\bin
-
I’m able to run “jar” from command prompt.
I’m now out of ideas.
ToolNotFoundException: jar not found.
GooglePlayServices.ResolverVer1_1.ShouldExplode (System.String aarPath) (at Z:/tmp/tmp.mz1RZCSjez/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/ResolverVer1_1.cs:1513)
GooglePlayServices.ResolverVer1_1.LoadAarExplodeCache () (at Z:/tmp/tmp.mz1RZCSjez/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/ResolverVer1_1.cs:256)
GooglePlayServices.ResolverVer1_1..ctor () (at Z:/tmp/tmp.mz1RZCSjez/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/ResolverVer1_1.cs:220)
GooglePlayServices.PlayServicesResolver..cctor () (at Z:/tmp/tmp.mz1RZCSjez/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/PlayServicesResolver.cs:624)
Rethrow as TypeInitializationException: The type initializer for 'GooglePlayServices.PlayServicesResolver' threw an exception.
Firebase.Editor.XcodeProjectPatcher..cctor () (at Z:/tmp/tmp.sXL81rhJWV/firebase/app/client/unity/editor/src/XcodeProjectPatcher.cs:61)
Rethrow as TypeInitializationException: The type initializer for 'Firebase.Editor.GenerateXmlFromGoogleServicesJson' threw an exception.
System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Activator.CreateInstance (System.Type type) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
UnityEditor.AssetPostprocessingInternal.GetTextureProcessorsHashString () (at C:/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:490)
UnityEditor.AssetPostprocessingInternal:GetTextureProcessorsHashString()