java.util.ConcurrentModificationException in activity onCreate
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
Revert your Firebase Core library to:
implementation 'com.google.firebase:firebase-core:17.1.0'
I've seen this crash on both v17.2.1 and v17.2.2, but since reverting to 17.1.0 all has been fine.
I've reported the bug here: https://firebase.google.com/support/troubleshooter/report/bugs
Update
Thanks @Sébastien, reverting to v17.2.0 should also work:
implementation 'com.google.firebase:firebase-core:17.2.0'
It is finally fixed in 17.2.3: https://firebase.google.com/support/release-notes/android#analytics_v17-2-3