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?
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?
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.