MainActivity does not find activity_main

3

I try to call the components of my activity_main and it does not think, what could be wrong?

    
asked by anonymous 09.12.2016 / 18:27

1 answer

4

Check on your import's what R it's bringing!

This being displayed belongs to Android !

To get access to the layout of your project, import the R for your project,

import seu.pacote.R;
    
09.12.2016 / 18:37