I am trying to write code for Android FirebaseUI — Auth in my android project but from last two days, I am getting errors in my current code and don\'t know how to fix it. t
This error means that google play services 11.4.0 is not installed in your android studio.
To fix this you need to change the version of the dependency to what is installed in your android studio.
For this go to : Project Structure -> Project Settings -> Modules -> Dependencies
Here click on the + sign. Find your desired dependency.You can check its version here.You can also add the dependency to your project from here.
It is always recommended that you update your google play services SDK tools from SDK manager and use the newest version.