Closed exzizt closed 6 years ago
@exzizt it sounds like you're not including whatever version of the Firebase plugin required for your project. I recommend starting with one of the sample projects, importing the plugins then comparing what you have with your project that has problems. It sounds to me like you may have deleted a configuration file that is required for the Firebase plugin.
@stewartmiles I fixed it (see my edit in my initial post). There must be an issue with the resolver where it requires me to have those empty 5.2.0 folders even though everything in my project references 5.2.1.
@exzizt the resolver has no hard coded assumptions about the 5.2.0 folders in the project. The m2repository folder is just used as a local maven repository for Gradle to read from. Any chance you have the Unity.log file with the resolution failure, ideally with verbose logging enabled in the Android Resolver?
@exzizt since we haven't heard from you, I'll close out this issue. If you're still having problems I recommend contacting https://firebase.google.com/support
@stewartmiles Sorry Stewart. I'll try to get to this as soon as I can!
My project previously used the 5.2.0 versions of the plugins Auth, Database, Invites, and AdMob. I am using the latest resolver (1.2.84.0). I'm regretting updating because now I'm getting more errors again. Note that auto-resolution is enabled, and I've done many "force resolves".
EDIT: While googling around I stumbled across this thread (https://stackoverflow.com/questions/51628906/android-firebase-unity-have-error-gradle-failed-to-fetch-dependencies-and-resol) that, while not entirely related to this issue, gave me the idea to un-delete the old "5.2.0" folders that I deleted after upgrading to 5.2.1. I deleted them because they were empty and I figured deleting them wouldn't impact anything. Strangely enough, I guess deleting them impacted something, hence the errors below. Anyway, un-deleting them and keeping the empty 5.2.0 folders has resolved the issue.