I found multiple threads in the forum for this but it seems there are different solutions to this.
When I open the studio, I get the error - The installed versions of the Studio and Robot do not match. Please restart machine and try again.
I did try restarting and it did not help. I am using the community version. My versions are as below
Studio - Version 2020.2.0-beta.108
Robot - 19.12.0
How do I sycn this studio and robot versions and also prevent this from happening again.