简体   繁体   English

AndEngine错误

[英]AndEngine Error

i want to download andengine.jar from googlecode, but i can't find lib folder where andengine exist. 我想从googlecode下载andengine.jar,但我找不到存在andengine的lib文件夹。 Can anybody help me please? 有人能帮帮我吗? Besides that, i have andengine.jar from somewhere. 除此之外,我从某处获得了andengine.jar。 But, there is no packages org.anddev.andengine.opengl.texture.atlas. 但是,没有包org.anddev.andengine.opengl.texture.atlas。 Please help me 请帮我

If you want to use the latest versions, you have to get them from GitHub https://github.com/nicolasgramlich/AndEngine 如果你想使用最新版本,你必须从GitHub获取它们https://github.com/nicolasgramlich/AndEngine
Once you have all the source, since jars are not available you'll need to run this command from within the AndEngine directory to generate the files it requires to build: 一旦拥有了所有源代码,由于jar不可用,您需要在AndEngine目录中运行此命令以生成它需要构建的文件:

android -v update project --path e:/dev/andengine/AndEngine

Replace my path with yours, of course 当然,用你的路径替换我的路径


For more info about the GLES2 version read this forum post: http://www.andengine.org/forums/announces/andengine-gles2-pre-release-on-december-23rd-t6097.html 有关GLES2版本的更多信息,请阅读此论坛帖子: http ://www.andengine.org/forums/announces/andengine-gles2-pre-release-on-december-23rd-t6097.html

Check out the AndEngine code from https://github.com/nicolasgramlich/AndEngine . 查看来自https://github.com/nicolasgramlich/AndEngine的AndEngine代码。

Open Eclipse with ADT installed and Android SDK linked. 安装ADT并链接Android SDK打开Eclipse。 Import your checked out AndEngine code in to your workspace as 'Existing Android Code'. 将签出的AndEngine代码作为“现有Android代码”导入您的工作区。

If your Eclipse is set to auto-build (default setting), it'll build an AndEngine.jar in to the /libs folder for you. 如果您的Eclipse设置为自动构建(默认设置),它将为您创建一个AndEngine.jar到/ libs文件夹中。 You can use this JAR in other projects. 您可以在其他项目中使用此JAR。

These are the examples you'll have to use with this (latest) version of AndEngine: https://github.com/nicolasgramlich/AndEngineExamples 这些是你必须使用这个(最新)版本的AndEngine的例子: https//github.com/nicolasgramlich/AndEngineExamples

org.anddev.andengine package names are now obsolete. org.anddev.andengine包名称现已过时。

AndEngine jar is not on the web anymore. 网络上的AndEngine jar不再存在了。 The versions you find are old, don't use them. 您找到的版本是旧的,不要使用它们。 Instead, install the Mercurial plug-in for Eclipse, then clone the AndEngine project from google code. 相反,安装Eclipse的Mercurial插件,然后从谷歌代码克隆AndEngine项目。

Use this tutorial: http://www.andengine.org/forums/tutorials/getting-started-with-andengine-t11.html 使用本教程: http//www.andengine.org/forums/tutorials/getting-started-with-andengine-t11.html

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

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