Some common solutions
1.Remove and Add cordova
2.Remove and Add android platform / ios platform
3.Check gradle downloading or not because sometimes firewall preventing it to downlaod
4.Try not to use most recent versions of libraries. Use one version below
5.Try to do it in new fresh project
Hope it helps