3
我正在嘗試使用LibGDX附帶的libgdx-freetype庫。對於桌面,我只是將libgdx-freetype.jar
和libgdx-natives.jar
添加到主項目的/libs
文件夾(並添加到構建路徑中),並且它工作正常。然而,試圖以/libs
文件夾相同的庫和libgdx-freetype.so
文件添加到/libs/armeabi
和/libs/armeabi-v7a
文件夾時,我得到的編譯錯誤:將libGdx freetype庫添加到Android項目時出錯
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
有人能指出我做錯了什麼嗎?
謝謝,這工作! – balajeerc