R cannot be resolved to a variable

后端 未结 29 1169
不知归路
不知归路 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:55

    Check your AndroidManifest.xml file, see if the package name is correct. If you copied an example it is likely this is wrong and the source of your problem.

提交回复
热议问题