Reputation: 112
Downloaded Box2d from here but after going
Project Structure > New Module > Import existing library
When asking for path i put the box2d path and still get the warning that doesnt let me continue
Select modules to import
What is the problem?
Upvotes: 1
Views: 3166
Reputation: 39
Don't add PhysicsBox2D as Module, Download the JAR From this link :-http://www.java2s.com/Code/Jar/o/Downloadorgandengineextensionphysicsbox2djar.htm and copy jar and paste in project library folder.
And then go to File->Project Structure-> app->dependencies-> + ->File Dependency -> lib ->add that jar file.
And if want to check that box2D is added or not try to import that:- import org.andengine.extension.physics.box2d in MainActivity.java. If importing Box2D is set in Project.
Upvotes: 2