I’m so tired of all these messed up Android libraries
When importing official .unitypackage in the EMPTY Android project I’m getting an error:
ArgumentNullException: Value cannot be null.
Parameter name: path
System.IO.Directory.CreateDirectory (System.String path) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
GooglePlayServices.PlayServicesResolver.ResolveUnsafe (System.Action`1[T] resolutionComplete, System.Boolean forceResolution) (at <b9f185c2500349039a6d9277103bac8a>:0)
GooglePlayServices.PlayServicesResolver+<Resolve>c__AnonStorey11.<>m__19 () (at <b9f185c2500349039a6d9277103bac8a>:0)
GooglePlayServices.PlayServicesResolver.ExecuteNextResolveJob () (at <b9f185c2500349039a6d9277103bac8a>:0)
GooglePlayServices.PlayServicesResolver.Resolve (System.Action resolutionComplete, System.Boolean forceResolution, System.Action`1[T] resolutionCompleteWithResult) (at <b9f185c2500349039a6d9277103bac8a>:0)
GooglePlayServices.PlayServicesResolver.AutoResolve () (at <b9f185c2500349039a6d9277103bac8a>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:191)
Before this error comes the warning:
Resolving to Android package directory instead of the requested target directory Assets/Plugins/Android
Is in a different case to Assets/Plugins/Android ?
UnityEngine.Debug:LogWarning(Object)
Google.Logger:Log(String, LogLevel)
GooglePlayServices.PlayServicesResolver:Log(String, LogLevel)
GooglePlayServices.SettingsDialog:ValidatePackageDir(String)
GooglePlayServices.SettingsDialog:get_PackageDir()
GooglePlayServices.PlayServicesResolver:ResolveUnsafe(Action`1, Boolean)
GooglePlayServices.<Resolve>c__AnonStorey11:<>m__19()
GooglePlayServices.PlayServicesResolver:ExecuteNextResolveJob()
GooglePlayServices.PlayServicesResolver:Resolve(Action, Boolean, Action`1)
GooglePlayServices.PlayServicesResolver:AutoResolve()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
It also doesn’t build an .apk.
When platform is set to PC, everything is importing fine.
I’m using unity 2018.2 and the latest Facebook SDK 7.13.0
What’s that all about? How can I fix that?