1

Hi im using Android Studio ver. 0.8.6 now i want to use andEngine, i know that i should download andengine.jar file and copy it to libs folder in my project, everything is all right, but i can find the andengine.jar GLES2 there are only files with 1st version, and the newest examples didn't work with it, can someone pls give me link to andengine.jar GLES2? or maybe im doing something wrong?

I'm taking examples from official site and there are a lot of errors one of them:

extends BaseExample

Shizzle
  • 53
  • 1
  • 13
  • You can make modules with the AndEngine source in Android Studio. This is preferred so you don't have to compile jars each time you update the engine code. – Dan Harms Oct 01 '14 at 20:22

4 Answers4

2

AndEngine GLES2 may be downloaded From Here

You can download AndEngine.jar file From Here

You can download other types of AndEngine.jar file From Here

Also here are some examples about AndEngine From Here

AndEngine GLES2 may be downloaded Alternatively From Here

Bay
  • 467
  • 7
  • 22
1

https://github.com/nicolasgramlich/AndEngine/tree/GLES2-AnchorCenter Use this link to get the latest andengine also download the physics engine which is a separate jar.

mallik
  • 557
  • 4
  • 13
1

or maybe im doing something wrong?

Yes. First of all, you should not be using JARs anymore. You should add AndEngine and any extension as an Android Library project (Eclipse terminology) or Module (Android studio terminology).


UPDATE: Since the Android Studio became the official IDE for Android, it is now recommended to use it. However AndEngine stopped being developed by its author and its populatity is on decline. Anyway see a related question to add the module/library project to your game.

Community
  • 1
  • 1
MartinTeeVarga
  • 10,478
  • 12
  • 61
  • 98
  • "You should not be using JARs anymore" There is still validity in the question. I use AIDE to code. I cloned the Andengine git repo and imported Andengine as a library to my app project and it started saying that the x86 .so files were corrupted. – Jax May 18 '15 at 13:10
  • @DJMethaneMan The JARs that are downloadable from old project pages were never recommended since the author published the code. They were not up-to-date. – MartinTeeVarga May 19 '15 at 01:07
  • I am up voting simply because this is true. Anyway, if anyone reading this comment is having the same problem see [my question](http://stackoverflow.com/questions/30306318/rendering-sprites-using-texture-region-andengine?noredirect=1#comment48736014_30306318), as I have posted what method I used to solve the problem in an update. The [recent]solution has allowed me to begin using Andengine via a cloned Git repo. – Jax May 19 '15 at 13:00
0

As @sm4 pointed out it is recommended to simply clone the git repo. However, after cloning the repo you will experience errors in AIDE when compiling. See my question and answer to see why I think this happens and how to fix it.

Community
  • 1
  • 1
Jax
  • 402
  • 7
  • 24