문제

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