How can I render the body and joints in the physics world? During research I found the class called Box2dDebugRenderer. But when I put it into use it was full of errors. I do not found some classed in it. My basic requirement is to draw a body that were available in the physics world. Please provide some guidance on that. Also provide any other view about that.
With my limited experience with physics engines, the developer is required to implement their own drawing code for that the physics engine then uses for debug drawing.
It's usually broken down into simple methods for you to implement like
What version of AndEngine are you using? GLES1 or GLES2? It is likely that you are trying to use an outdated version.
If GLES1, the code here works just fine. I linked it to my GLES1 project today.
I you use GLES2, there is a thread about it over at the AndEngine forums.
Please note that using this will make your app run quite slow.