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

前端 未结 12 1504
故里飘歌
故里飘歌 2021-01-02 04:23

I just recently downloaded an Android Studio and installed it on my PC. But When I try to set up my first project \"hello world\", it always brings up the following:

<
12条回答
  •  耶瑟儿~
    2021-01-02 04:43

    First Credit Goes to Kali Kimanzi .. for this answer [Windows 7-10]

    go to C:/Users/.../.gradle/daemon/ open any of the folders in daemon look for this file registry.bin.lock delete it now go sync the gradle in Android Studio and your problem should be solved

    A little update for noobs .. C:/Users//.gradle/daemon/ and instead of deleting the file registry.bin.lock just rename it to registry.bin.lock.backup just incase .. though the file itself might be corrupt

提交回复
热议问题