java: R cannot be resolved to a variable

后端 未结 6 2071
北恋
北恋 2021-01-27 06:03

I know this question has been asked before but I am at my witts end with this. I have just created a new project and getting this error.

Ofcourse the R.java file is not

6条回答
  •  耶瑟儿~
    2021-01-27 06:36

    This just worked for me.

    Added a character to the manifest and saved. Deleted said character cleaned projected and package created under gen with buildconfig and R java in it.

    Why is worked I have no idea.

提交回复
热议问题