R.java missing, R cannot be resolved to a variable, even if no mistake in xml files

前端 未结 4 810
忘了有多久
忘了有多久 2020-12-22 10:11

I am new to android, started my programming basics. I am getting error as \"R cannot be resolved to a variable\" and R.java file is missing even i have clea

4条回答
  •  粉色の甜心
    2020-12-22 10:45

    1. clean project
    2. check out your others xml file
    3. check out your drawable folder

    Make sure your all xml file are correct and clean project is a good method. XML file don't allow upper case letters

提交回复
热议问题