相关疑难解决方法(0)

Gradle异常无法加载本机库native-platform.dll

我刚刚在 Windows 7 计算机上安装了 Gradle 2.11,当我运行 gradle -v 时,我收到一条失败消息。Gradle 位于路径中并且 dll 存在。

$ gradle -v --stacktrace

FAILURE: Build failed with an exception.

* What went wrong:
Failed to load native library 'native-platform.dll' for Windows 7 amd64.

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
net.rubygrapefruit.platform.NativeException: Failed to load native library 'nati                                        ve-platform.dll' for Windows 7 amd64.
        at net.rubygrapefruit.platform.internal.NativeLibraryLoader.load(NativeL                                        ibraryLoader.java:49)
        at net.rubygrapefruit.platform.Native.init(Native.java:55)
        at org.gradle.internal.nativeintegration.services.NativeServices.initial                                        ize(NativeServices.java:74)
        at org.gradle.internal.nativeintegration.services.NativeServices.initial                                        ize(NativeServices.java:60)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(                                        CommandLineActionFactory.java:203)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute( …
Run Code Online (Sandbox Code Playgroud)

dll gradle

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

dll ×1

gradle ×1