简体   繁体   English

AndEngine的64位版本

[英]64Bit Version for AndEngine

I have to provide a 64 Bit Version of my Android Game which is using AndEngine in Google Play Store. 我必须提供64位版本的Android游戏,该游戏在Google Play商店中使用AndEngine。 The offical github repo of AndEngine doesn´t provide a 64 bit version of the library. AndEngine的官方github repo没有提供64位版本的库。 Does anyone have an idea how to convert the library to 64 bit? 有谁知道如何将库转换为64位? I tried to add the following: 我试着添加以下内容:

APP_ABI := armeabi-v7a x86 x86_64 arm64-v8a

line to the "Application.mk" File and ran build.sh. 行到“Application.mk”文件并运行build.sh。 Unfortunately without success. 很遗憾没有成功。

Did anyone successfully build a 64 Bit Version AndEngine? 有没有人成功构建64位版本AndEngine?

I got the the "build.sh" running and rebuild the native files. 我得到了“build.sh”运行并重建本机文件。 I uploaded the updated AndEngine which includes the 64bit native .so files to my github account. 我上传了更新的AndEngine,其中包含64位原生.so文件到我的github帐户。

AndEngine: AndEngine:

https://github.com/jonnyright/AndEngine https://github.com/jonnyright/AndEngine

AndEngine Box2D extension: AndEngine Box2D扩展:

https://github.com/jonnyright/AndEnginePhysicsBox2DExtension https://github.com/jonnyright/AndEnginePhysicsBox2DExtension

Andengine libandengine.so file contains just 2 classes GLES20Fix and BufferUtils , here they are . Andengine libandengine.so文件只包含2个类GLES20FixBufferUtils ,这里是它们 Here are java classes GLES20Fix.java and BufferUtils.java which call classes from libandengine.so . 以下是java类GLES20Fix.javaBufferUtils.java ,它们从libandengine.so调用类。 As you can see from java source code and comments C-classes contains workarounds for system bugs 11078 , 16941 , 8931 which were in Android 2.2 (froyo), Android 3.0 (honeycomb) and Android 3.2 (honeycomb_mr2). 正如可以从Java源代码和注释C-类看到包含用于系统缺陷的解决方法11078169418931 ,其在分别的Android 2.2(Froyo的),机器人3.0(蜂窝)和Android 3.2(honeycomb_mr2)。

So, if you don't support android 2.x and 3.x devices you should just delete all libandengine.so files from your project. 因此,如果您不支持android 2.x和3.x设备,则应该从项目中删除所有libandengine.so文件。 We did so with our project about year ago, everything works ok. 大约一年前我们用我们的项目这样做了,一切正常。

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

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