I have searched the internet, trying to fix this and nothing has worked.
I have:
- deleted my .gradle folder and let Android Studio generate a new one,
- changed JVM options,
- changed Java global variables in Windows,
- updated sdk, ndk, jre, jdk, Android Studio and Windows
- changed file paths of these things so they don't have spaces.
and I can't get rid of this error in Android Studio.
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.6/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
And that's all it says. I have no idea how to solve this.