I've designed the front-end and opened the MainActivity.java.
When I hover my mouse over the error, It says "cannot resolve symbol R"
Please help me to rectify this issue!
The R class is generated by the IDE after all the bits and pieces of the project have been checked. Most often there is an error in an xml file that is sort of hidden and requires you to look in all the folders with xml files (eg res) to see if any of them are flagged as having errors.