I can not use class R. in kotlin

2

I'm trying to learn kotlin , but I'm not able to import the class "R." no kotlin  

Would anyone know to tell me what I'm doing wrong?

    
asked by anonymous 03.01.2018 / 16:00

2 answers

1

This happened to me too, I did Build-> Clean Project and it worked.

    
04.01.2018 / 23:02
0

"R" is not a class, but resources (your application folder)

Try to remove the "R" from com.claudioshigemi.carros.activity. R

    
04.01.2018 / 17:48