Gradle project sync failed (Android studio)

I’m setting the android-studio , I set up enviroment variable GRALE_HOME and testing (gradle -v OK ) . But the daemon process has a diffrent context that expected .
It won’t be possible to reconnect to this daemo.

how correcting DefaultDaemonContext ?

Android Studio projects are setup to use the Gradle Wrapper by default not the Gradle distribution that is on the path. If you are having a problem with using the wrong version of Gradle you might need to update the gradle/wrapper/ file in your project’s workspace.