Trying to load gradle for the first time, getting following error
FAILURE: Build failed with an exception.
What went wrong:
Gradle could not start your build.
> Could not initialize native services.
> Failed to load native library 'native-platform.dll' for Windows 11 x86.
Found some similar topics but over 8 year old and for windows 7
The only similar case I know was on Linux and was because of bad permissions in the GRADLE_USER_HOME.
Try running with -g test-gradle-user-home and see if it works then.
If it does, you might have a look at the file permissions of your standard GRADLE_USER_HOME or delete it or if it is not there, check the permissions of the directory where it would create it.
If using -g ... works and you do not get it sorted out, you can also opt to permanently choose another location by setting the GRADLE_USER_HOME environment variable.
If using -g ... did not help, you should probably report an error on GitHub.