AndEngine andengine.jar file

女生的网名这么多〃 提交于 2019-12-11 09:53:32

问题


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


回答1:


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




回答2:


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.




回答3:


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.




回答4:


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.



来源:https://stackoverflow.com/questions/25833336/andengine-andengine-jar-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!