Gradle error during build of Android Project in Android Studio

If you notice error that the Gradle home path is incorrect, when building your Android Project in Android Studio, select and set the gradle path to correct one. To do so, select File -> Settings. Click on Build, Execution, Deployment -> Build Tools -> Gradle.