java: R cannot be resolved to a variable

后端 未结 6 2070
北恋
北恋 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:13

    Had this happen a while back, my sdk/build-tools folder was missing a build target for some reason. Check in there to see if you have any folders.

提交回复
热议问题