0
package com.example.consult.myapplication;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
I wonder what error I have in this application that appears Cannot solves Symbol 'R' I just installed everything: Android Studio, Java and even Ubuntu. Note: JRE 1.8_121 | Ubuntu 16.04 LTS | Android Studio 2.3
There is already a topic for that. See if it helps your problem http://answall.com/questions/54/erro-r-cannot-be-resolved
– Daniel Saraiva
That guy’s problem was something else, even though the mistake was the same
– Hipólito
Already tried to rebuild the project?
– ZelDias
If you have tried Builder->Clean Project, check if any layout has an error.
– ramaral
I just created the project, and I have only one Linearlayout in xml. And only one Activity
– Hipólito
That chosen answer is not the only answer, see this for example http://answall.com/a/70928/3635
– Guilherme Nascimento