【发布时间】:2016-04-06 00:35:41
【问题描述】:
我决定开始在 iOS 上进行测试,因为 Android 版本即将完成。 在我的应用程序编译完成并且启动画面完成后,我收到此错误。我正在使用 android studio 在 Mac (El capitan) 上开发。我正在使用 LibGdx 和 RoboVM,似乎 RoboVM 的问题导致了此错误。 网上没有解决办法,请帮忙。
[ERROR] AppLauncher failed with an exception:
[ERROR] org.robovm.libimobiledevice.LibIMobileDeviceException: IDEVICE_E_UNKNOWN_ERROR
[ERROR] at org.robovm.libimobiledevice.IDevice.checkResult(IDevice.java:189)
[ERROR] at org.robovm.libimobiledevice.IDeviceConnection.receive(IDeviceConnection.java:102)
[ERROR] at org.robovm.libimobiledevice.util.AppLauncher.receiveGdbPacket(AppLauncher.java:443)
[ERROR] at org.robovm.libimobiledevice.util.AppLauncher.receiveGdbPacket(AppLauncher.java:425)
[ERROR] at org.robovm.libimobiledevice.util.AppLauncher.pipeStdOut(AppLauncher.java:779)
[ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launchInternal(AppLauncher.java:727)
[ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launch(AppLauncher.java:1045)
[ERROR] at org.robovm.compiler.target.ios.AppLauncherProcess$1.run(AppLauncherProcess.java:60
gdxVersion = '1.9.1'
roboVMVersion = '1.12.0'
编辑: 当我加载所有资源时,似乎会引发此错误,如果我只选择大约 80% 的资源,它加载正常(如果我尝试加载所有资源,它会使其达到大约 96%,然后崩溃,我使用 AssetManager)。 iOS 设备是否有某种尺寸限制?我的资产文件夹只有 16.9MB。
编辑 2: 好的,所以我几乎可以肯定这是因为我在启动时加载了所有资产,也许对于 ihpone4 GPU 来说太多了?毕竟现在已经很老了。这可能是原因吗?我的意思是我收到的错误消息毫无意义,认为这种类型的错误会给出“内存不足”的消息,但我对 iOS 真的很陌生,所以可能不是。
【问题讨论】:
标签: ios performance libgdx robovm