使用AIDE克隆Git的回购Andengine编译错误 [英] Andengine compilation error using the cloned Git repo in AIDE

查看:565
本文介绍了使用AIDE克隆Git的回购Andengine编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 AIDE 以code一款Android游戏,我想使用的 Andengine 以code我的比赛。我听说建议克隆Git仓库因为制造商不编译<一个HREF =htt​​p://en.wikipedia.org/wiki/JAR_(file_format)相对=nofollow> Java归档(JAR)文件了。然而,当我克隆混帐回购协议,并尝试编译一个简单的Andengine项目,我得到的错误,说有一个中的x86编译错误。

I am using AIDE to code an Android game and I want to use Andengine to code my game. I heard that it is recommended to clone the git repository since the maker doesn't compile Java Archive(JAR) files anymore. However, when I clone the git repo and try to compile a simple Andengine project I get errors saying that there is a "compilation error in x86".

这意味着,我唯一的选择是使用旧的,过时的JAR文件。有谁知道如何解决这个问题?

This means that my only option is to use the older, outdated JAR files. Does anyone know how to solve this problem?

推荐答案

从我的问题恬不知耻地复制<一个href=\"http://stackoverflow.com/questions/30306318/rendering-sprites-using-texture-region-andengine?noredirect=1#comment48736014_30306318\">here!

Copied shamelessly from my question here!

我设法从GitHub获得克隆回购与助手一起工作。我有一个ARM的Andr​​oid设备,而不是86一(我不完全相信很多人都有86的Andr​​oid,不是吗?)。这可能有助于有这个问题,其他:

I managed to get the cloned repo from GitHub to work with AIDE. I have an ARM Android device, and not a x86 one (I'm not entirely sure many people have a x86 Android, do they?). This might help others having this problem:

要解决,我走进了初始化机器code为Andengine建设的android.mk脚本编译错误。我注释掉x86和跑我的应用程序有一个基本的Andengine项目和它的工作。显然,它试图建立自己的x86机器code为我的ARM设备。

To fix the compilation errors I went into the android.mk script that initializes the building of the machine code for Andengine. I commented out the x86 and ran my app with a basic Andengine project and it worked. Apparently it was trying to build x86 machine code for my ARM device.

我现在有机会获得Andengine的全部力量终于可以垃圾桶我一直在使用该蹩脚的,过时的.JAR直到现在。这开辟了很多教程,我使用。

I now have access to the full power of Andengine and can finally trash that crappy, outdated .JAR I had been using until now. This opens up many tutorials for me to use.

这篇关于使用AIDE克隆Git的回购Andengine编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆