The first result from the daemon was empty. Most likely the process died immediately after connection. code example
Example: daemon was empty android
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
go to your c:/Users/Jack/.gradle/daemon/
open any of the folders in Daemon , look for this file registry.bin.lock
rm (delete it)
now go sync the gradle in android studio and your problem will be solved
Success