Thanks @ttliu1, can you let me know if you have this in your AndroidManifest.xml?
<provider android:name="com.google.android.gms.measurement.AppMeasurementContentProvider"
android:authorities="YourApplicationId.google_measurement_service"
android:exported="false" />
If you see com.google. instead of your applicationId, that could be causing a conflict. You can get the full manifest, after it’s been merged,
from:
build/intermediates/manifests/full/release/AndroidManifest.xml