2.1版本的hellocpp工程 android版本 用ndk编译出错

"Compile++ thumb : hellocpp_shared <= main.cppIn file included from jni/hellocpp/main.cpp:6:0:jni/…/…/Classes/HelloWorldScene.h:19:27: error: ISO C++ forbids declaration of ‘CREATE_FUNC’ with no type -fpermissive]jni/hellocpp/main.cpp: In function ‘void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv*, jobject, jint, jint)’:jni/hellocpp/main.cpp:27:55: error: cannot convert ‘cocos2d::CCEGLView’ to ‘cocos2d::CCEGLView*’ in initializationjni/hellocpp/main.cpp:28:15: error: ‘class cocos2d::CCEGLView’ has no member named 'setFrameSize’jni/hellocpp/main.cpp:30:53: error: cannot allocate an object of abstract type 'AppDelegate’jni/…/…/Classes/AppDelegate.h:11:8: note: because the following virtual functions are pure within ‘AppDelegate’:D:/cocos2d-1.0.1-x-0.13.0-beta/cocos2dx/platform/android/CCApplication_android.h:21:18: note: virtual bool cocos2d::CCApplication::initInstance()jni/hellocpp/main.cpp:31:43: error: base operand of ‘->’ has non-pointer type 'cocos2d::CCApplication’jni/hellocpp/main.cpp:35:20: error: ‘ccDrawInit’ was not declared in this scopejni/hellocpp/main.cpp:36:34: error: ‘ccGLInvalidateStateCache’ was not declared in this scopejni/hellocpp/main.cpp:38:9: error: ‘CCShaderCache’ has not been declaredjni/hellocpp/main.cpp:40:9: error: ‘sharedNotificationCenter’ is not a member of 'cocos2d::CCNotificationCenter’jni/hellocpp/main.cpp:40:76: error: ‘EVNET_COME_TO_FOREGROUND’ was not declared in this scopemake: *** Error 1

不知道是哪的错,高手指点