I am using libgdx 0.9.8. I am using physical-body-editor-2.9.2 () to create box 2D objects. My problem is that whenever I load a json file created by physics-body-editor, using the code in the libgdx project:
BodyEditorLoader loader = new BodyEditorLoader (Gdx.files .internal ("data / upspring-object.json"));
I get an error on the Android device, "Unfortunately the app is closed!" But when I launch the desktop version on the computer, everything works just fine. Please suggest a solution Thank you!
No comments:
Post a Comment