======
- cocoapods-1.16.2
- Unity 6000.0.41f1
- Firebase 13.4.0
- OSX 15.5
ISSUES:
Android: not building
> Could not resolve all files for configuration ':launcher:debugRuntimeClasspath'.
> Could not find com.google.firebase:firebase-analytics-unity:13.4.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-analytics-unity/13.4.0/firebase-analytics-unity-13.4.0.pom
What I’ve tried:
- updated firebase
- update cocoa pods (I have a separate iOS issue)
- forced resolve in EDMU Various EDMU settings.
- Update google-services
- files for iOS and android checked the version inside the podfile, its correct
- CheckedUnityAppController.mm there no mention of firebase
I know there are lots of posts with similar errors, however each has a completely different solution and I'm trying to narrow it down.
It seems like something explicitly declares firebase-analytics-unity as a Maven dependency.
I believe the "-unity" packages aren't on Maven only native Android Firebase packages (without -unity).
When I look at the build.gradle I see:
Packages/com.google.firebase.analytics/Firebase/Editor/AnalyticsDependencies.xml:13 implementation 'com.google.firebase:firebase-analytics-unity:13.4.0'
ie its looking for files on maven, which is should be getting from GeneratedLocalRepo
Now this can happen when try and mix installation methods for Firebase.
I installed the latest firebase via package manager. However the package removal instructions [here][1] seem incomplete. ie Firebase is leaving files all over my project, that aren't mentioned here.
3 questions:
- Is the maven vs local Repository the likely source of my error?
- Is it ultimately caused by not removing all files from the .unitypackage installation?
- If so how do
- I find any stray files I could have missed?
- ensure I only have the unity package manager installation.