Unity external dependency manager resolution failed
Hi, I have imported Firebase packages (FirebaseAuth, FirebaseStore, FirebaseFunctions & FirebaseAnalytics) but I am getting below error while running external dependency manager android resolution.
Resolution failed
Failed to fetch the following dependencies:
com.google.firebase:firebase-app-unity:+
com.google.firebase:firebase-auth-unity:+
UnityEngine.Debug:LogError(Object)
Google.Logger:Log(String, LogLevel) (at Z:/tmp/tmp.1ZjQmjdN1r/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/Logger.cs:136)
GooglePlayServices.PlayServicesResolver:Log(String, LogLevel) (at Z:/tmp/tmp.yLOL0ktbPv/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/PlayServicesResolver.cs:990)
GooglePlayServices.GradleResolver:LogMissingDependenciesError(List`1) (at Z:/tmp/tmp.yLOL0ktbPv/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleResolver.cs:95)
GooglePlayServices.<DoResolutionUnsafe>c__AnonStorey8:<>m__1(List`1) (at Z:/tmp/tmp.yLOL0ktbPv/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleResolver.cs:912)
GooglePlayServices.<GradleResolution>c__AnonStorey1:<>m__0() (at Z:/tmp/tmp.yLOL0ktbPv/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleResolver.cs:375)
I am also getting a warning along with error
Some conflicting dependencies were found.
The following dependency versions were modified:
com.google.android.gms:play-services-auth:11.4.0 --> com.google.android.gms:play-services-auth:+
com.google.firebase:firebase-analytics:17.4.1 --> com.google.firebase:firebase-analytics:+
com.google.firebase:firebase-app-unity:6.15.0 --> com.google.firebase:firebase-app-unity:+
com.google.firebase:firebase-auth:19.3.1 --> com.google.firebase:firebase-auth:+
com.google.firebase:firebase-auth-unity:6.15.0 --> com.google.firebase:firebase-auth-unity:+
com.google.firebase:firebase-common:19.3.0 --> com.google.firebase:firebase-common:+
com.google.firebase:firebase-firestore:21.4.3 --> com.google.firebase:firebase-firestore:+
com.google.firebase:firebase-functions:19.0.2 --> com.google.firebase:firebase-functions:+
UnityEngine.Debug:LogWarning(Object)
Google.Logger:Log(String, LogLevel) (at Z:/tmp/tmp.1ZjQmjdN1r/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/Logger.cs:129)
GooglePlayServices.PlayServicesResolver:Log(String, LogLevel) (at Z:/tmp/tmp.yLOL0ktbPv/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/PlayServicesResolver.cs:990)
GooglePlayServices.<GradleResolution>c__AnonStorey1:<>m__2(Result) (at
Answer by taynaTinoco · Sep 17, 2020 at 05:08 PM
Same here, returns this :
Resolution failed
Failed to fetch the following dependencies:
com.google.firebase:firebase-analytics-unity:+
com.google.firebase:firebase-app-unity:+
Answer by aiyra · Oct 03, 2020 at 08:52 PM
Hey everyone,
We had a very similar problem and stumbled upon your post when searching for the solution.
In our case, it was a conflict because some Firebase libraries were present under the UnityPackageManager, and some under the Assets folder.
The problem is described here (spoiler: conflicting m2repositories folders): https://github.com/firebase/quickstart-unity/issues/771
And the solution was to install everything via package manager, getting rid of the /Assets leftovers that were causing the conflict. For this, we used the this very detailed answer on this post: https://stackoverflow.com/questions/64111347/unity-and-firebase-package-manager-resolver-uninstalling-the-following-packag
Hope it help you as well!
Your answer
![](https://koobas.hobune.stream/wayback/20220613000806im_/https://answers.unity.com/themes/thub/images/avi.jpg)