Yesterday I bought Lumia 520 with Windows Phone 8. All is fine, but gmail - it won't connect to gmail, synchronize anything (mails, contacts). All it does is asks me for username and password, which I provide, then tries to synchronize and finally asks me for password again.
I've tried setting it up both as gmail account and as Sync/Exchange account, to no avail. I'm confident I'm providing it with good credentials.
I looked at m.google.com/sync but it does not help at all - it shows link on how to sync using Windows Phone but there's nothing there.
System is updated to latest version - this did not help at all. Also - I'm trying to do this while connected to WiFi network or cellular one with no difference.
Other accounts, like twitter or facebook, connected quickly and with no issues at all.
Any idea on what's going on here? I've been looking at some other answers but nothing helped.