我正在使用Mac。我在LibGDX中创建了一个游戏项目。我将项目导入RoboVM Studio。它在桌面和Android模式下运行,但是当我尝试运行IOSLauncher时,它给了我该错误消息:
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> org.robovm.rt.bro.Dl.open(Ljava/lang/String;)J at
> org.robovm.rt.bro.Dl.open(Native Method) at
> org.robovm.rt.bro.Runtime.getHandle(Runtime.java:260) at
> org.robovm.rt.bro.Runtime.loadLibrary(Runtime.java:187) at
> org.robovm.rt.bro.Bro.bind(Bro.java:56) at
> org.robovm.objc.ObjCRuntime.<clinit>(ObjCRuntime.java:43) at
> org.robovm.objc.ObjCObject.<clinit>(ObjCObject.java:57) at
> java.lang.Class.forName0(Native Method) at
> java.lang.Class.forName(Class.java:195) at
> com.intellij.rt.execution.application.AppMain.main(AppMain.java:122)
当我从“运行/编辑配置”中添加“RoboVM iOS配置”时,这次它给了我该错误消息:
> Error:Gradle: Execution failed for task ':html:compileGwt'.
> > Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java''
> finished with non-zero exit value 1
最佳答案
关于ios - RoboVM Studio-LibGDX-UnsatisfiedLinkError-IOS模拟器不起作用?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/31416592/