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

前端 未结 12 1539
故里飘歌
故里飘歌 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条回答
  •  猫巷女王i
    2021-01-02 04:32

    In my case, after trying all of the above, I realised:

    • I was using the wifi network @ brandname coffeshop which had authentification.
    • I also had Global Gradle settings :"Offline work" activated (Settings/Build,Execution,Deployment/Gradle/Global Gradle settings).

    I switched to my phone hotspot, and deactivated the Offline work.

    Now (after 1 and a half hours) my builds are running again.

    Hope this helps.

提交回复
热议问题