I was working on Android Studio for adding a short toast message.(I was making an Android Wear Application)
I couldn\'t know why this code has error on \'symbol R\'
Below some procedures are mentioned :
1) Try Build -> Clean/Rebuild project .
Build
Clean/Rebuild
2) Manually typing import .R, If in import R is missing.
import .R
3) complete all resources of its corresponding XML file .
XML
I hope any one of them would be helpful for you as there is no Particular way to resolve this issue.