In our case, we are only seeing the crash with
com.google.firebase:firebase-analytics:17.2.2
reverting to 17.2.1 has fixed the problem
This happens too if you are using firebase-core:17.2.2, because firebase-analytics is the same library rebranded. Take into account that as per official docs, current usage of firebase-core is deprecated -> https://firebase.google.com/support/release-notes/android#latest_sdk_versions