R cannot be resolved to a variable

后端 未结 29 1218
不知归路
不知归路 2020-11-28 14:14

I would like to fix this error

R cannot be resolved to a variable

I looked up many answers, but I could not get the right one;

29条回答
  •  忘掉有多难
    2020-11-28 15:06

    I had the same issue and main reason why R.java was not re-generated is errors in any of the files in the project. Once we fix those the R.java should get generated.

提交回复
热议问题