1

为 ios 构建时出现以下错误

ld: file too small (length=0) file '/Users/………./.robovm/cache/ios/x86/default/Users/    ……/.m2/repository/org/robovm/robovm-dist/0.0.13/unpacked/robovm-0.0.13/lib/robovm-   rt.jar/java/nio/PipeImpl$PipeSinkChannel.class.o' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
:ios:launchIPhoneSimulator FAILED
FAILURE: Build failed with an exception.

有任何想法吗?桌面配置正在运行。JDK是1.7+

我已经为 libgdx 安装了最新的 gradle 设置

谢谢

4

1 回答 1

0

请参阅此处的解决方案:https ://github.com/robovm/robovm/issues/238

您需要从缓存中删除零长度类并再次运行构建。

于 2014-10-07T22:42:41.377 回答