编译 报错 求个大神

[armeabi] StaticLibrary : libcocos2d.a
[armeabi] StaticLibrary : libcocostudio.a
[armeabi] StaticLibrary : libcocosbuilder.a
[armeabi] StaticLibrary : libcocos3d.a
[armeabi] StaticLibrary : libspine.a
[armeabi] StaticLibrary : libui.a
[armeabi] StaticLibrary : libcocosdenshion.a
[armeabi] StaticLibrary : flatbuffers.a
[armeabi] StaticLibrary : libextension.a
[armeabi] Compile++ thumb: audioengine_static <= AudioDecoder.cpp
C:/Users/hasee/Desktop/test/Hello/proj.android-studio/…/cocos2d/cocos/audio/android/AudioDecoder.cpp: In constructor ‘cocos2d::experimental::AudioDecoder::AudioDecoder(SLEngineItf, const string&, int, int, const FdGetterCallback&)’:
C:/Users/hasee/Desktop/test/Hello/proj.android-studio/…/cocos2d/cocos/audio/android/AudioDecoder.cpp:108:73: error: ‘malloc’ was not declared in this scope
_pcmData = (char*) malloc(NB_BUFFERS_IN_QUEUE * BUFFER_SIZE_IN_BYTES);
^
C:/Users/hasee/Desktop/test/Hello/proj.android-studio/…/cocos2d/cocos/audio/android/AudioDecoder.cpp: In destructor ‘virtual cocos2d::experimental::AudioDecoder::~AudioDecoder()’:
C:/Users/hasee/Desktop/test/Hello/proj.android-studio/…/cocos2d/cocos/audio/android/AudioDecoder.cpp:126:18: error: ‘free’ was not declared in this scope
free(_pcmData);
^
C:/Users/hasee/Desktop/test/Hello/proj.android-studio/…/cocos2d/cocos/audio/android/AudioDecoder.cpp: In member function ‘bool cocos2d::experimental::AudioDecoder::decodeToPcm()’:
C:/Users/hasee/Desktop/test/Hello/proj.android-studio/…/cocos2d/cocos/audio/android/AudioDecoder.cpp:405:52: error: ‘malloc’ was not declared in this scope
keyInfo = (SLMetadataInfo *) malloc(keySize);
^
C:/Users/hasee/Desktop/test/Hello/proj.android-studio/…/cocos2d/cocos/audio/android/AudioDecoder.cpp:434:25: error: ‘free’ was not declared in this scope
free(keyInfo);
^
C:/Users/hasee/Desktop/test/Hello/proj.android-studio/…/cocos2d/cocos/audio/android/AudioDecoder.cpp: In member function ‘bool cocos2d::experimental::AudioDecoder::resample()’:
C:/Users/hasee/Desktop/test/Hello/proj.android-studio/…/cocos2d/cocos/audio/android/AudioDecoder.cpp:504:42: error: ‘malloc’ was not declared in this scope
void *outputVAddr = malloc(outputSize);
^
C:/Users/hasee/Desktop/test/Hello/proj.android-studio/…/cocos2d/cocos/audio/android/AudioDecoder.cpp:594:17: error: ‘free’ was not declared in this scope
free(convert);
^
make: *** [obj/local/armeabi/objs-debug/audioengine_static/AudioDecoder.o] Error 1
make: *** Waiting for unfinished jobs…
make: Leaving directory `C:/Users/hasee/Desktop/test/Hello/proj.android-studio/app’
执行命令出错,返回值:2。

这是怎么回事>?

???
这个是怎么回事哦 大神大神 android -studio 的项目

这个该怎么解决啊

这到底是怎么回事 , 没有人遇见过吗

多提供点信息,比如引擎版本,Android Studio版本,用的sdk 和 NDK,源码,操作步骤。能帮助定位问题的信息

大神 你能加我QQ 841127654
我刚开始cocos2dx 就是官方的那个cpptests build不出来