Search Unity

Bug Unable to read Android dependencies from .../Dependencies.xml

Discussion in 'Editor & General Support' started by yawan, Mar 7, 2023.

  1. yawan

    yawan

    Joined:
    Apr 28, 2021
    Posts:
    6
    Hi there.

    I am integrating a couple of SDKs ( Facebook and AdMob), and I am having an error that I suspect is preventing me from making builds.

    To give some context:
    - Android platform
    - Unity 2022.2.2f1

    I have searched a lot and this is blocking me for a long time so if anyone could help, that would be AMAZING!

    Here is the error I get:

    Unable to read Android dependencies from Assets/FacebookSDK/Plugins/Editor/Dependencies.xml.
    Android dependencies in this file will be ignored.
    UnityEngine.Debug:LogError (object)
    Google.Logger:Log (string,Google.LogLevel)
    GooglePlayServices.XmlDependencies:ReadAll (Google.Logger)
    GooglePlayServices.AndroidXmlDependencies:ReadAll (Google.Logger)
    GooglePlayServices.PlayServicesResolver:ResolveUnsafe (System.Action`1<bool>,bool,bool,bool)
    GooglePlayServices.PlayServicesResolver/<ScheduleResolve>c__AnonStorey1E:<>m__3F ()
    GooglePlayServices.PlayServicesResolver:ExecuteNextResolveJob ()
    GooglePlayServices.PlayServicesResolver:ScheduleResolve (bool,bool,System.Action`1<bool>,bool)
    GooglePlayServices.PlayServicesResolver:AutoResolve (System.Action)
    GooglePlayServices.PlayServicesResolver:<ScheduleAutoResolve>m__47 ()
    Google.RunOnMainThread:ExecutePollingJobs ()
    Google.RunOnMainThread:<ExecuteAllUnnested>m__12 ()
    Google.RunOnMainThread:RunAction (System.Action)
    Google.RunOnMainThread:ExecuteAllUnnested (bool)
    Google.RunOnMainThread:ExecuteAll ()
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
     
  2. yawan

    yawan

    Joined:
    Apr 28, 2021
    Posts:
    6
    Any idea anyone? ;(
     
  3. Dncry

    Dncry

    Joined:
    Jul 23, 2018
    Posts:
    1
    maybe format error , find right format on Maven .
    such as IAP,
    error format: <androidPackage spec="com.android:billingclient:6.0.1" />
    right format: <androidPackage spec="com.android.billingclient:billing:6.0.1" />