I know this is a common question and I already read several posts and modify many times my gradle file but I can\'t find the solution.
The error message i
change
dependencies{ implementation 'com.google.firebase:firebase-core:16.0.8' }
dependency in your app gradle from
dependencies{ implementation 'com.google.firebase:firebase-core:15.0.0' }
and then sync your project with these changes.