cocos2dx 3.0 build android native error


#1

run successfully in the windows
but when i running creat_build.py has a error
I used to compile the HelloWorld success
////////////////////////android.mk//////////////////////
`LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := cocos2dcpp_shared

LOCAL_MODULE_FILENAME := libcocos2dcpp

LOCAL_SRC_FILES := hellocpp/main.cpp
…/…/Classes/AppDelegate.cpp
…/…/Classes/Welcome.cpp
…/…/Classes/HelloWorldScene.cpp

LOCAL_C_INCLUDES := $(LOCAL_PATH)/…/…/Classes
$(LOCAL_PATH)/…/…/cocos2d/extensions\

LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static

include $(BUILD_SHARED_LIBRARY)

$(call import-module,2d)
$(call import-module,audio/android)
$(call import-module,extensions)`
///////////////////////////////////////////////////////////////


4.png (46.0 KB)


#2

the error log show, getScene is used by base class,try change method name getScene to another name.


#3

@mahongquan 谢谢了 不过生成APK之后真机运行闪退 编译的时候全都正常