Fix the crash of Texture2dTest when `—ndk-mode` is `release`
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_keypad_fix
Merge pull request #7035 from samuele3hu/v3_keypad_fix

Fix the crash of Texture2dTest when `—ndk-mode` is `release`