4

I am trying to use the sample code of Firebase auth using Email and Password: EmailPasswordActivity.java, I get a "Cannot resolve symbol 'quickstart'", which appears in this line: import com.google.firebase.quickstart.auth.R;

why is that?

2
  • Clean your project and try again, does it work? Commented Nov 23, 2018 at 11:07
  • have you added firebase to your project? Commented Nov 23, 2018 at 11:11

1 Answer 1

0

You are using the Firebase guide and its quickstart code. The project is called 'auth' and in its manifest you can find:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.google.firebase.quickstart.auth">

To solve your problem, you can change the package tag with com.google.firebase.quickstart.auth or you can change the import import com.google.firebase.quickstart.auth.R; with <your package in your manifest>.R.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.