I tried to declare a class of FirebaseAuth.
The assistant of Firebase in Android Studio is giving me:
- Connect your app to Firebase -> connected
- Add Firebase Authentication to your app -> Dependencies set up coorectly
When I declare an instance of FirebaseAuth:
It causes error in this line. I try to clean and rebuild the project, nothing changes.
Import firebaseauth is for ios code, for android use
Or move your cursor to word that has red underline until it show bulb, left click on it and choose import menu, it will automatically import the package for you.