Box2D examples - force closes

  ... the Physics Box2D Extension for AndEngine.

Box2D examples - force closes

Postby boiledeggs » Fri Feb 24, 2012 3:54 pm

Hello everyone!

Firstly I want to apologize if this is not the right place for this sort of topic.
I recently started playing around with the andEngine, and so far it has been a very pleasant journey. But I have one problem that is sort of bugging me, i cannot get the box2d examples to execute. The AndEngineExamples app simply force closes if i pick one of the examples using box2d.

Seems to me i tried everything now.
- I have imported all projects from the GIT repository.
- I tried switching SDK target version to 2.3.3 as suggested here: physics-box2d-extension/physics-example-not-responding-on-emulator-t6185.html
- Tried getting an alternative libandenginephysicsbox2dextension.so (Suggested in the last referenced thread)

When i check the logCat what i notice is stuff like this:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. 02-24 14:48:37.900: W/dalvikvm(11822): VFY: unable to find class referenced in signature (Lorg/andengine/extension/physics/box2d/PhysicsWorld;)
  2. 02-24 14:48:37.900: W/dalvikvm(11822): VFY: unable to find class referenced in signature (Lcom/badlogic/gdx/physics/box2d/FixtureDef;)
  3. 02-24 14:48:37.900: E/dalvikvm(11822): Could not find class '[Lcom.badlogic.gdx.math.Vector2;', referenced from method org.andengine.examples.PhysicsExample.createHexagonBody
  4.  
Parsed in 0.032 seconds, using GeSHi 1.0.8.4

wich would suggest that im a newbie and can't do things right, but what did i do wrong?

Its not that box2d is important for me at this time, but it would be nice to get everything running as it should.

Regards,
Boiledeggs
boiledeggs
 
Posts: 2
Joined: Fri Feb 24, 2012 3:05 pm

Re: Box2D examples - force closes

Postby RealMayo » Fri Feb 24, 2012 5:14 pm

Have you watched my tutorials?...
User avatar
RealMayo
 
Posts: 1682
Joined: Sat Sep 03, 2011 9:25 pm
Location: Chicago, IL

Re: Box2D examples - force closes

Postby boiledeggs » Sat Feb 25, 2012 5:53 pm

Yes i did. And i think i followed them pretty well.. Issues has been fixed though, checkedout AndEngineExamples and the Box2DExtension repositories from GIT (again...) and it seems to be working now :-)
boiledeggs
 
Posts: 2
Joined: Fri Feb 24, 2012 3:05 pm


Return to Physics Box2D

Who is online

Users browsing this forum: No registered users and 11 guests