Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Cannot resolve method 'getInstance' in 'FirebaseAuth' for Firebase
Post Body

When I am on step 4 of setting up Firebase in my Android app, I enter this:

private FirebaseAuth mAuth;

Which is fine. But when I enter this:

mAuth = FirebaseAuth.getInstance();

I get the Cannot resolve method 'getInstance' in 'FirebaseAuth' error.

Here is a link https://bpa.st/EBZA.

Sorry if it is a stupid question.Everything else lights up green except this. Thanks again.

Author
Account Strength
100%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
12,226
Link Karma
2,873
Comment Karma
9,002
Profile updated: 6 days ago
Posts updated: 18 hours ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago