Trouble building 64bit support with Cocos2d-x 3.16, Android Studio

Hello guys. Can anybody help me with 64bit support or step by step instruction for this. I have error in cocos2d-x 3.16 when trying to build project for arm64-v8a in AndroidStudio.

/cocos/audio/android/mp3reader.cpp:229:43: error: ‘memcmp’ was not declared in this scope

The first thing you should always do is check the github repository and the specific file you’re having an issue with, and see if anything has been changed.

You’re still using 3.16, and if I recall correctly, the audio code had a lot of work done to it in the newer version, so consider upgrading to 3.17.2+, which do not have that bug with memcmp.

Now, regarding your issue, check if this PR fixes it: