Recently I encountered this error of Android Studio 4.1 . It start many instance of java.exe (OpenJDK Platform binary) until run out of RAM (I have 10gb of RAM).
I cannot sync, build projects. I have uninstall it and reinstall Android Studio 4.1 but the same thing happened. This is the error message I receive from AS after 10 minutes it build (normally only takes about 2 mins) : The first result from the daemon was empty. Most likely the process died immediately after connection.
Does anyone have this error and how to fix it? Thanks.
I have found the problem. I use Mobile Hotspot on Windows 10, switched it off and the Gradle deamon will run normal again.
Answered By – ngoson