Import AndEnginePhysicsBox2DExtension-GLES2 into Android Studio 1.5

I am trying to make an app for equivalent birds using AndEngine . I'm having trouble importing AndEnginePhysicsBox2DExtension-GLES2 in Android Studio 1.5

So far I have imported AndEngine-GLES2 as a module

 Project Structures -> green + sign on left top -> import Eclipse ADP -> selecting path 

to AndEngine-GLES2 .

For some reason, when I try to do this for AndEnginePhysicsBox2DExtension-GLES2 , it does not recognize it as a module, so I cannot import it. I do not use JAR FYI.

step 4 in here does not help, since I cannot import AndEnginePhysicsBox2DExtension-GLES2 at all.

+1
android-studio andengine
source share
2 answers

You need to remove "-GLES2" from the folder names.

Here is a picture from my folder

Another solution could be: File -> Create -> Import Project -> Select AndEnginePhysicsBox2DExtension and save the project. Then import the module from the project structure ...

+1
source share

For both libraries, do the following: go to the project structure -> modules-> button + import module from existing sources.

Then click on your module, go to the dependency tab and add the imported Andengine and extenstion modules. Then click on the Andengine project and add a dependency on the physics extension module.

0
source share

All Articles