R cannot be resolved to a variable

后端 未结 29 1219
不知归路
不知归路 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 14:53

    I have just had this problem.

    It was caused because I had a redundant menu resource that referred to a non-existing string.

    Removed the menu XML and back came R.

提交回复
热议问题