简体   繁体   中英

64Bit Version for AndEngine

I have to provide a 64 Bit Version of my Android Game which is using AndEngine in Google Play Store. The offical github repo of AndEngine doesn´t provide a 64 bit version of the library. Does anyone have an idea how to convert the library to 64 bit? 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. Unfortunately without success.

Did anyone successfully build a 64 Bit Version AndEngine?

I got the the "build.sh" running and rebuild the native files. I uploaded the updated AndEngine which includes the 64bit native .so files to my github account.

AndEngine:

https://github.com/jonnyright/AndEngine

AndEngine Box2D extension:

https://github.com/jonnyright/AndEnginePhysicsBox2DExtension

Andengine libandengine.so file contains just 2 classes GLES20Fix and BufferUtils , here they are . Here are java classes GLES20Fix.java and BufferUtils.java which call classes from 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).

So, if you don't support android 2.x and 3.x devices you should just delete all libandengine.so files from your project. We did so with our project about year ago, everything works ok.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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