When I opened android studio today, it showed me the following errors:

This can happen if a module is not added correctly.
Instead of adding the module folder, adding the build.gradle results in a broken project and issues with the Android Support plugins.
To check if this is the issue, try creating a new Android project. If the new project can be open fine (may require enabling the plugins and restarting Android Studio), then it is a project issue.
If this is the case, delete the incorrect module from the project, and if required re-enable the plugins and restart Android Studio.