简体   繁体   English

RoboVM第三方库

[英]RoboVM 3rd party libraries

Im using libGDX to create a game. 我正在使用libGDX来创建游戏。 I have it all running fine on the android side but am having real difficulties in getting it to tun on iOS using RoboVM. 我在android方面都运行良好,但是在使用RoboVM在iOS上进行调优方面确实有困难。 The issue is that im utilising a third party networking library (alljoyn). 问题是即时消息利用了第三方网络库(alljoyn)。

I have tried referecing the .jar file and this makes the project compile but I end up with UnsatisfiedLink Exceptions. 我尝试引用.jar文件,这使项目得以编译,但最终出现UnsatisfiedLink异常。

I have also tried using the alljoyn static .a library but it ends up the same way. 我也尝试过使用alljoyn static .a库,但最终以相同的方式进行。

Is it the case that robovm will only work with 3rd party libraries through the maintained bindings or am i missing a trick? 是robovm仅通过维护的绑定仅与第三方库一起使用的情况,还是我错过了一个窍门?

I see here that there are different versions of the library for each platform. 在这里看到每个平台都有不同版本的库。 That leads me to believe that this library depends on OS APIs, so you need to be using the iOS version of the library on iOS, not the Android or Windows versions. 这使我相信该库取决于OS API,因此您需要在iOS上使用该库的iOS版本,而不是Android或Windows版本。 And if you use the iOS version, you will have to create a code binding from Objective-C to Java, as explained here . 如果你使用的iOS版本,你必须创建一个代码的Objective-C到Java的绑定,作为解释在这里

There is more info about robovm bindings here . 在这里有更多关于robovm绑定的信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM