R can not be resolved android Studio [duplicate]

0

I'm facing a problem, it seems to be a bit simple, but I'm already a few hours away.

I'm building a project in android Studio and the Same is giving in the field private UserLoginTask mAuthTask = null ;

// UI references.
private AutoCompleteTextView mEmailView;
private EditText mPasswordView;
private View mProgressView;
private View mLoginFormView;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_login_);'

in line setContentView(R.layout.activity_login_) o R Goes red and does not compile the project.

I've already looked for several tutorials including what those who talk to go on Build > Clean and Rebuild , I also reviewed Project Struture but no success

Someone could tell me what this could be Since now I am very grateful

    
asked by anonymous 06.11.2018 / 19:49

1 answer

0

I usually get this type of error when there is an error in the xml files, check them out and then recompile your project.

PS: Eclipse Android does not accept uppercase letters in XML file names, I'm not sure if android studio has the same procedure, but it's worth trying.

    
07.11.2018 / 15:46