带有RoboVM的iOS的Libgdx - IOSGLES20.init上的链接错误不满意 [英] Libgdx for iOS with RoboVM - Unsatisfied link error at IOSGLES20.init
问题描述
尝试使用RoboVM将我的LibGDX游戏移植到iOS。
Trying to port my LibGDX game to iOS using RoboVM.
当为模拟器运行应用程序时,我收到此错误:
When running the app for the emulator I get this error:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
at com.badlogic.gdx.backends.iosrobovm.IOSGLES20.init(Native Method)
at com.badlogic.gdx.backends.iosrobovm.IOSGLES20.<init>(IOSGLES20.java)
at com.badlogic.gdx.backends.iosrobovm.IOSApplication.didFinishLaunching(IOSApplication.java)
at com.badlogic.gdx.backends.iosrobovm.IOSApplication$Delegate.didFinishLaunching(IOSApplication.java)
at org.robovm.cocoatouch.uikit.UIApplicationDelegate$Callbacks.didFinishLaunching(UIApplicationDelegate.java)
at org.robovm.cocoatouch.uikit.UIApplication.UIApplicationMain(Native Method)
at org.robovm.cocoatouch.uikit.UIApplication.main(UIApplication.java)
at ***********
推荐答案
如果你有这个问题,这是怎么回事我解决了它:我拿了一个来自旧论坛的人的建议:
-从主项目中保存你的课程
-使用LibGDX UI设置从头开始删除整个项目
-rebuild
-copy返回你的主要项目中的课程。
if you have this problem, here's how I solved it: I took an advice from someone on an older forum: -save your classes from the main project -delete the entire project -rebuild from scratch using LibGDX UI Setup -copy back your classes in the main project.
正如那个家伙所说的那样,在你遗失的地方总会有一些非常小的故障。
As that guy said, there's always gonna be some very small glitch somewhere that you're missing.
我浪费了3-4个小时,然后我接受了建议,一切都像魅力一样:)
I wasted 3-4 hours with this, then I took tha advice and everything worked like charm :)
这篇关于带有RoboVM的iOS的Libgdx - IOSGLES20.init上的链接错误不满意的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!