简体   繁体   English

由于存在琐事,无法在Android设备上运行

[英]Can`t run on Android device, because of librabries

I'm launching a game on Android device and getting this error. 我正在Android设备上启动游戏并遇到此错误。 I`m using up to date Android version, also libgdx. 我正在使用最新的Android版本,也使用libgdx。

The library 'jinput-platform-2.0.5-natives-linux.jar' contains native libraries that will not run on the device. 库“ jinput-platform-2.0.5-natives-linux.jar”包含不会在设备上运行的本机库。
The following libraries were found: 找到以下库:
libjinput-linux.so libjinput-linux.so
libjinput-linux64.so libjinput-linux64.so

Please help me understand what may cause the problem. 请帮助我了解可能导致问题的原因。

*.so files are native assemblies that are built for a particular architecture. * .so文件是为特定体系结构构建的本机程序集。 If those *.so files were not built for android (and it seems as if they are not given the error) they will not work. 如果这些* .so文件不是为android构建的(似乎没有给出错误),则它们将无法工作。

If there isn't a version for android already built, you can try to write an android version. 如果尚未构建适用于android的版本,则可以尝试编写android版本。 This other SO question may be of assistance. SO的另一个问题可能是有帮助的。

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

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