Omer Omer - 1 month ago 6
Android Question

R.layout is'nt recogized by the studio

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


suddenly
R
isn't recognized, probably something I have done.

Can someone explain to me what does it mean the
R.layout
...?
And what can I do to fix it?

Answer

Might be the problem because of some changes in layout..

Build-> Clean Project and then you will get build fail because of some error, then solve that error you will get appropriate result.