Hello, I’m new to gradle. If I start gradle I get the following Error on my linux-system:
gradle -debug 23:15:13.949 [DEBUG] [org.gradle.internal.nativeplatform.services.NativeServices] Native-platform is not available. 23:15:14.015 [ERROR] [org.gradle.BuildExceptionReporter]
23:15:14.016 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. 23:15:14.016 [ERROR] [org.gradle.BuildExceptionReporter]
23:15:14.017 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: 23:15:14.017 [ERROR] [org.gradle.BuildExceptionReporter] java.lang.NoSuchFieldException: fd 23:15:14.026 [ERROR] [org.gradle.BuildExceptionReporter]
23:15:14.027 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is: 23:15:14.027 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.internal.UncheckedException: java.lang.NoSuchFieldException: fd 23:15:14.028 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:39) 23:15:14.028 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.internal.nativeplatform.jna.LibCBackedConsoleDetector.checkIsConsole(LibCBackedConsoleDetector.java:58) 23:15:14.029 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.internal.nativeplatform.jna.LibCBackedConsoleDetector.getConsole(LibCBackedConsoleDetector.java:35) 23:15:14.029 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.logging.internal.ConsoleConfigureAction.execute(ConsoleConfigureAction.java:32) 23:15:14.030 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.logging.internal.ConsoleConfigureAction.execute(ConsoleConfigureAction.java:27) 23:15:14.030 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.logging.internal.OutputEventRenderer.attachConsole(OutputEventRenderer.java:68) 23:15:14.031 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.logging.internal.DefaultLoggingManager.attachConsole(DefaultLoggingManager.java:146) 23:15:14.032 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:168) 23:15:14.032 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139) 23:15:14.033 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) 23:15:14.033 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) 23:15:14.034 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.launcher.Main.doAction(Main.java:46) 23:15:14.034 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) 23:15:14.035 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.launcher.Main.main(Main.java:37) 23:15:14.035 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50) 23:15:14.036 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32) 23:15:14.062 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.launcher.GradleMain.main(GradleMain.java:23) 23:15:14.063 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NoSuchFieldException: fd 23:15:14.064 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.internal.nativeplatform.jna.LibCBackedConsoleDetector.checkIsConsole(LibCBackedConsoleDetector.java:54) 23:15:14.065 [ERROR] [org.gradle.BuildExceptionReporter]
…15 more 23:15:14.065 [ERROR] [org.gradle.BuildExceptionReporter]
Can anyone help.