Hi guys, I have a problem and I’m trying to solve its third day. Something went wrong and I’m stuck. I use ndk r9d, c ++. Errors in the studio is not only a warning they can take a look at the console. Most requested help me. Past projects compile without error and are working well, and this has some problems.I will be very grateful for any help!
http://imgbar.net/view/84e0343a04/5bdd60caa1.jpg
Sorry guys, i forgot… im use cocos2d-x v 3.8.1, win 8.1. used commands and file build_native.py. I compile a version of the api 19. My Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
$(call import-add-path,$(LOCAL_PATH)/../../cocos2d)
$(call import-add-path,$(LOCAL_PATH)/../../cocos2d/external)
$(call import-add-path,$(LOCAL_PATH)/../../cocos2d/cocos)
LOCAL_MODULE := cocos2dcpp_shared
LOCAL_MODULE_FILENAME := libcocos2dcpp
LOCAL_SRC_FILES := hellocpp/main.cpp \
../../Classes/AppDelegate.cpp \
../../Classes/EnemyStackLayer.cpp \
../../Classes/GameOverScene.cpp \
../../Classes/GameScene.cpp \
../../Classes/LetClass.cpp \
../../Classes/MainMenuScene.cpp \
../../Classes/MyChar.cpp \
../../Classes/MyHUDLayer.cpp \
../../Classes/PauseScene.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
# _COCOS_HEADER_ANDROID_BEGIN
# _COCOS_HEADER_ANDROID_END
LOCAL_STATIC_LIBRARIES := cocos2dx_static
# _COCOS_LIB_ANDROID_BEGIN
# _COCOS_LIB_ANDROID_END
include $(BUILD_SHARED_LIBRARY)
$(call import-module,.)
# _COCOS_LIB_IMPORT_ANDROID_BEGIN
# _COCOS_LIB_IMPORT_ANDROID_END
EnemyStackLayer, LetClass: in these two classes of problems with the implementation, but in the book from which I took as an example, it’s okay. What’s wrong?
Guys, can any one help me?
Problem solved