我正在尝试使用IDEA 14.1.1和最新的RoboVM快照将基础libGDX游戏(使用libGDX的安装工具1.5.5版创建的默认项目)部署到iPhone 5,但我得到了一个不满意的错误。使用模拟器我得到了同样的错误:
2015-04-09 11:06:06.847 IOSLauncher[2107:552074] [debug] IOSApplication: iOS version: 8.2
2015-04-09 11:06:06.848 IOSLauncher[2107:552074] [debug] IOSApplication: Running in 32-bit mode
2015-04-09 11:06:06.851 IOSLauncher[2107:552074] [debug] IOSApplication: scale: 2.0
java.lang.UnsatisfiedLinkError: com/badlogic/gdx/backends/iosrobovm/IOSGLES20.init()V
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.apple.uikit.UIApplicationDelegate$ObjCProxy.$cb$application$didFinishLaunchingWithOptions$(Unknown Source)
at org.robovm.apple.uikit.UIApplication.main(Native Method)
at org.robovm.apple.uikit.UIApplication.main(UIApplication.java)
at com.mangoprotocol.test.IOSLauncher.main(IOSLauncher.java)
在模拟器和实际iPhone设备中,默认的libGDX白色图像显示不到一秒钟,然后游戏退出,将之前的堆栈跟踪吐出到IDEA控制台。
我认为我已经正确地遵循了所有配置步骤以使其运行,但我显然错过了一些东西。
关于如何解决它的任何想法?
答案 0 :(得分:0)
解决。我在build.gradle文件中 iosSignIdentity 参数中的名称和键之间缺少一个空格(是的......)。