I've successfully installed JDK and also Android Studio both of 64bit and when I've created a new project, called GreetingApp Gradle Build starts and it shows an error with the title of Gradle GreetingApp project refresh failed Error:CreateProcess error=2, The system cannot find the file specified and also shows a small message that says Gradle Project sync failed. Basic functionality (e. g. editing, debugging) will not work properly.
How can I solve this?