I'm new to Android Studio and while creating a new project it stuck at resolving dependencies
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
I don't know what happened. But, restarting the system helped me. Now it works perfectly fine...
P.S: A quote from the sitcom The IT Crowd:
Did you try turning it off and on again?