​Gradle sync failed: The first result from the daemon was empty. Most likely the process died immediately after connection​

solved the problem by doing the following

  1. go to c:/Users/Jack/.gradle/daemon/
  2. open any of the folders in Daemon , look for this file registry.bin.lock
  3. rm (delete it)
  4. now go sync the gradle in android studio and your problem will be solved
    Success