我正在尝试使用LibGDX自带的libgdx-freetype库。对于桌面端,我只需将libgdx-freetype.jar
和libgdx-natives.jar
添加到主项目的/libs
文件夹中(并添加到构建路径),就可以直接使用了。然而,当我尝试将相同的库添加到/libs
文件夹以及将libgdx-freetype.so
文件添加到/libs/armeabi
和/libs/armeabi-v7a
文件夹时,出现了构建错误:
Description Resource Path Location Type
Native libraries detected in 'gdx-freetype-natives.jar'. See console for more information.
SlotMachine-android Unknown Android Packaging Problem
在Eclipse控制台中,我看到了以下内容:
[2012-12-05 17:38:04 - SlotMachine-android] The library 'gdx-freetype-natives.jar' contains native libraries that will not run on the device.
[2012-12-05 17:38:04 - SlotMachine-android] The following libraries were found:
[2012-12-05 17:38:04 - SlotMachine-android] - libgdx-freetype.so
[2012-12-05 17:38:04 - SlotMachine-android] - libgdx-freetype64.so
有人能指出我做错了什么吗?