简体   繁体   English

AndEngine andengine.jar文件

[英]AndEngine andengine.jar file

Hi im using Android Studio ver. 您好,我正在使用Android Studio版本。 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? 0.8.6现在我要使用andEngine,我知道我应该下载andengine.jar文件并将其复制到我项目中的libs文件夹中,一切都很好,但是我可以找到andengine.jar GLES2只有1st的文件版本,并且最新示例无法使用,有人可以给我链接到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

AndEngine GLES2 may be downloaded From Here AndEngine GLES2可以从这里下载

You can download AndEngine.jar file From Here 您可以从这里下载AndEngine.jar文件

You can download other types of AndEngine.jar file From Here 您可以从这里下载其他类型的AndEngine.jar文件

Also here are some examples about AndEngine From Here 而且,这里是关于AndEngine一些例子从这里

AndEngine GLES2 may be downloaded Alternatively From Here 可以从这里下载AndEngine GLES2

https://github.com/nicolasgramlich/AndEngine/tree/GLES2-AnchorCenter使用此链接可获得最新版本,并且engine还下载了单独的jar物理引擎。

or maybe im doing something wrong? 还是我做错了什么?

Yes. 是。 First of all, you should not be using JARs anymore. 首先,您不应该再使用JAR。 You should add AndEngine and any extension as an Android Library project (Eclipse terminology) or Module (Android studio terminology). 您应该将AndEngine和任何扩展名添加为Android库项目(Eclipse术语)或模块(Android Studio术语)。


UPDATE: Since the Android Studio became the official IDE for Android, it is now recommended to use it. 更新:自从Android Studio成为Android的正式IDE以来,现在建议使用它。 However AndEngine stopped being developed by its author and its populatity is on decline. 但是,AndEngine停止了其作者的开发,并且其使用人数正在下降。 Anyway see a related question to add the module/library project to your game. 无论如何,请参见一个相关问题,以将模块/库项目添加到您的游戏中。

As @sm4 pointed out it is recommended to simply clone the git repo. 正如@ sm4所指出的,建议仅克隆git repo。 However, after cloning the repo you will experience errors in AIDE when compiling. 但是,克隆存储库后,编译时会在AIDE中遇到错误。 See my question and answer to see why I think this happens and how to fix it. 查看我的问题和答案,以了解为什么会发生这种情况以及如何解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM