Build x86 libcocos2djs.so in Cocos Creator for Android emulator?

As you know, the Android emulator performs nearly an order of magnitude faster with an x86 system image instead of an ARM one (on an x86 host, like almost Macs and PCs, of course).

It seems like only an armeabi-v7a libcocos2djs.so library is generated by the Cocos Creator Build->Compile process, but not an x86 one though.

How do I build an x86 version of this library in Cocos Creator so that I can test my game on the emulator without unbearable lag?

After all, some users might also have an ASUS Zenfone device or an x86 Atom Chromebook. As it stands, any Cocos Creator game will crash on these devices.

They weren’t joking either when they said:

Which version of CocosCreator did you use?

In 1.4 you can choose “app abi” in Build Panel.

1 Like

Great!!! :grinning:

Oh, what about x86_64? You do have arm64 so your data types are already set up properly for 64-bit support.

x86_64 is not supported now. The reason is:

  1. There is a little x86 devices on the market.
  2. Creator should supply the third party libraries to support x86_64. The installer of Creator will be larger again.

Maybe we will support it in future. Thanks for your feedback!

1 Like

Okay, makes sense, thanks.

how do i set the APP ABI options from the CocosCreator.exe command line?