Question

I am new to Libgdx and Bullet Physics, and have been unable to get Bullet to work on my Android device.

I have gotten the same program to work on the Desktop version, and have copied the libgdx-bullet.so files to armeabi and armeabi-v7a, but the Android version crashes with the error java.lang.NoClassDefFoundError: com.badlogic.gdx.physics.bullet.Bullet

Was it helpful?

Solution

I have finally figured out why I could not get the program to work on Android when it worked on the Desktop version. I needed to add the gdx-bullet.jar file to the list of things to be exported, it is not enough to just add it to the list of libraries.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top