As google asks to provide 64 bit application on google play, and some developers reported that cocos2d-js may easily crash with arm64-v8a. And we don’t know if it is caused by:
spidermonkey
jsb codes
engine codes(cpp)
We want to fix all 64 related issues. So please answer this topic if you succeeded release arm64 applications. Have you met any issues, how do you fix them. Thanks.
Know issues:
3 Likes
Are you asking to cocos2d-js devs only?
We had successfully released couple of games with 64 bit support using 3.16 c++.
Thanks, not cocos2d-js only.
All of our games support arm64-v8a. C++ projects. No issue at all.
@kiranb47 thanks, what’s your engine version?
Cocos2dx 3.17.0, pure c++, ios, android and osx - all 64 bit (only windows is 32 bit) no issues. Tomorrow will start to migrate to 3.17.2.
2 Likes
@hexerror thanks for the information.
also got no issues with arm64-v8a so far.
I’m using cocos2d-x 3.17.1 c++ only
1 Like
There is no problem at all with arm64-v8a.
It is released with App Bundle, not Apk.
cocos2d-x 3.17.2 I use C ++ only.
2 Likes
@Sleicreider @bluewind00 thanks for the information.
Migrated to 3.17.2, test-driving ios, osx & android (with sdkbox plugins) 64bit builds - so far so good…
1 Like
We met problems on 3.17.1 lua version. And we disable jit on android 64 bit device to make it work.
I use cocos2d-x and ndk-build to build app on arm64. But when i run it on 64bit device, the app crash randomly with error signal 11 (SIGSEGV), and the backtrace shows anonymous and unknown.
I use cocos2d-x 3.17.1, ndk 16, Android Studio 3.4.1, gradle tools 3.2.0 and gradle wrapper 4.6.
I tried ndk-stack but it didn’t show me more useful information.
This is the log in the Logcat.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Xiaomi/chiron/chiron:8.0.0/OP…
All of my games support arm64-v8a. C++ projects. No issue at all.
cocos2d-x 3.17.2 I use C ++, Released with App Bundle.
@smirkking i replied in the topic you pasted.
@shaktiraj thanks for the information.
A post was split to a new topic: Trouble building
我们cocos2dx c++,从 cocos2d-x-3.13.1 拷贝的64库,但是 curl相关的最低需要android 21,这个不太好。
I use cocos 3.16 when I build arm64 crashes a lot on android. But the stack trace on firebase has no information at all.
i had turn on flag CC_ENABLE_GC_FOR_NATIVE_OBJECTS = 1