i’m developing a android game which uses libgdx and bullet physics engine. I can compile the game without any problems, but when i add bullet to the game it crashes with this error:
…. UnsatisfiedLinkError: Couldn’t load bullet: findLibrary returned null …
I can compile the bullet library just fine but when i try to use it in my code it crashes.. The funny thing is that i have another project that uses bullet but without libgdx and it works without any problems. Does any one know what could be the problem? From what i know ndk-build generates only .so files and obj folder.
It looks like the bullet .so file isn’t included in the .apk, thus the crash. How could i check if it is? Did anyone had any similar problems?
Thanks for the help!
i’ve solved my problem. The problem was that libgdx has armeabi and armeabi-v7a folders in libs folder and bullet has only armeabi. So i’ve removed the armeabi-v7a and it magicly worked!