What Is Wrong With My Code Physicsremoveexample.java (andengine)?
Solution 1:
Check if libandenginephysicsbox2dextension.so file is in your libs/armeabi folder
Solution 2:
This is what I did to get the physics working in Eclipse:::
1. Run and install: Mercurial-2.1.exe
The Mercurial-2.1 gives you the HG command tool.
Use the hg tool at the command(DOS) prompt to obtain the latest AndEngine and andenginephysicsbox2dextension. Use the following hg commands>
hg clone https://code.google.com/p/andenginephysicsbox2dextension/
hg clone https://andengine.googlecode.com/hg/ andengine
This will download the two projects. Import them into Eclipse. Use FILE -> Import -> Existing projects into workspace -> select root directory -> BROWSE Find the AndEngine project downloaded with the hg command. Do the same for the andenginephysicsbox2dextension project - so you will have two library projects in Eclipse.
You will probably have to right-click on the project and set "Project Build target" to Android 2.3. You will also probably need to create a res and gen folder in the root of the project. Make sure the project is compiled.
Right-click project and choose Export -> under Java select the "jar file" option. Click NEXT. UNTICK EVERYTHING in the right hand pane - where is says AndroidManifest.xml and everything else in that list uncheck it. specify a location for the .jar file for example if you are compiling the AndEngine.jar you might enter : C:\temp\andengine.jar in the jar file input box. Click FINISH - it should compile.
Goto to this site:
Download the two .so files these will need to go into : armeabi armeabi-v7a
- The .jar files go in the lib folder off the root. The .so files --- create a folder called libs off the root. Under the libs folder create two folders armeabi AND armeabi-v7a -- The .so files go in these two folders.
Solution 3:
just copy the "libs" file -not the "lib" file- from the andengine examples project and paste it into your project.
Solution 4:
And Old andengine.jar andenginephysicsbox2dextension.jar remvove.
And copy the "lib" and "libs" folder - from the andengine examples project and paste it into your project.and add lib inner jar file Add to build path
Solution 5:
I was facing the same problem and was not able to do any thing with this problem occurring. again and again.
Ahh at last I was able to solve the problem and want to share because there must be may whop must have loose tonns of there hairs :)
I just replace the one from nicolas repo to RealMayo repo. Below is the link https://github.com/RealMayo/AndEnginePhysicsBox2DExtension.
Please let me know. :)
Happy coding.
Post a Comment for "What Is Wrong With My Code Physicsremoveexample.java (andengine)?"