Can’t Login with Google Account on macOS – Troubleshooting

accountsgooglemacossystem-prefs

The problem started after I restored from timemachine, but in a couple of days I saw that my gmail didn't work in Mail.app (my iCloud mail works fine) then I tried log out and log in again (with my google account in system pref.) but after I have selected the services I want to use and press "OK" it will just hang at this screen:

I hope some of you can help me to solve this problem.

Best Answer

Found a solution, used this command in terminal chmod -RN ~/Library/