Firebase is not configured.

After updating to SDK 44. When calling Analytics.logEvent('event') get the error Error: Firebase is not configured. Ensure that you have configured 'google-services.json' correctly..

I’ve already confirmed that the file is present and even re-downloaded it from the firebase-console.

What am i missing?