Libgdx for iOS with RoboVM - Unsatisfied link error at IOSGLES20.init(带有 RoboVM 的 iOS 的 Libgdx - 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 设置从头开始重建- 复制主项目中的类.
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 出现不满意的链接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:带有 RoboVM 的 iOS 的 Libgdx - IOSGLES20.init 出现不满意
基础教程推荐
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01