SDKBOX doesn't support x86_64 for Android

SDKBOX doesn’t support x86_64 architecture for Android.

Starting August 1, 2021:

  • Google Play will stop serving apps without 64-bit versions on 64-bit capable devices, meaning they will no longer be available in the Play Store on those devices.

https://developer.android.com/distribute/best-practices/develop/64-bit#64-bit-libraries

@yinjimmy do you plan to support x86_64 architecture for Android?

There will be four architectures with a game:

ARM lib/armeabi-v7a lib/arm64-v8a
x86 lib/x86 lib/x86_64

is it right ?

1 Like

Yes, so currently only x86_64 is missing

@yinjimmy any update?
do you plan to support x86_64?

local compile succeeded, but failed with staging server. I’m fixing it.

Plz wait for me.

Ok, no problem.
Don’t hurry.

the version v2.5.0.6 contains x86_64, it’s on staging server.

would you plz help to test it ?

successfully updated to v2.5.0.6 with command:

sdkbox update --staging

but there is no x86_64 arch:

The complete cocos2d-x sdk release is missing x86_64. I often asked for that, but nothing happened about it. Did you create the cocos2d-x dependencies for x86_64 by yourself?

No yet, first errors I get is about SDKBOX

plz try again

sdkbox update --staging --forcedownload --forcecopy

Tried but still no x86_64.

There are some errors with our stagings server. will fix this week.
I will notify you when the server is fixed.

Thanks,

plz try the staging version v2.5.0.6.

Now x86_64 has appeared but x86 is broken now:

C:/dev/libs/android-ndk-r17c/toolchains/x86-4.9/prebuilt/windows-x86_64/lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin\ld: fatal error:
../../../../jni/PluginIAP/libs_c++_static/x86/libPluginIAP.a(IAPProxy.o): unsupported ELF machine number 0

iap 2.5.0.5 x86 libPluginIAP.a size is 379.6 K
iap 2.5.0.6 x86 libPluginIAP.a size is 4.1 M :astonished:

Build for x86_64 fails because cocos2d doesn’t support it :sob:

yes, huge size.

@yinjimmy is there an update on this issue? How do we resolve?

Cocos team need to compile 3rd libs with x86_64 support.

Thanks @yinjimmy I don’t think this is in our plan.