Вопрос

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

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top