Getting "libraries must be same version" error after adding `firebase` dependencies into `build.gradle`. How to resolve the issue with the conflicting versions?

[![enter image description here](https://i.stack.imgur.com/lrWF3.jpg)](https://i.stack.imgur.com/lrWF3.jpg)