In android studio i am sometimes getting "R.id.id_name"

R value can not be resolved. I am not understanding why i am getting this error and when i restart the studio or clean it, then everything is fine. So can anyone explain me the reason why i am getting this error.

  • Sai
  • 06 Jul 2018
  • 432 Views
  • 2 Answers
Your Answer

Rebuild the project.
If rebuild does not work, restart the Android Studio.
If neither works, check all your xml files. This error occurs when your xml file is incorrect.

Application Development

Didn't get the answer.
Contact people of Talent-Application Development directly by clicking here