Hi cocos2dx friends ,
I have just upgraded to last version of cocos2dx-v2 and im having some problem with the configuration of eclipse environment
- in cocos2dx-1.0.12 when used the ./create-android….sh , after the ./build_native.sh , was created in src.org.cocos2dx.lib about 8 java files like cocos2dxActibity.java
- cocos2dx-v2 none is created - error?
- I received this error
Android NDK: jni/Android.mk: Cannot find module with tag ‘CocosDenshion/android’ in import path Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
my build_native.sh configuration
This is my build_native.sh configuration
@
NDK_ROOT=/develop/android-ndk-r8b
COCOS2DX_ROOT=/develop/cocos2d-2.0-x-2.0.3/Mad/Mad/libs
GAME_ROOT=/develop/cocos2d-2.0-x-2.0.3/Mad
GAME_ANDROID_ROOT=$GAME_ROOT/Mad/android
export PATH=$PATH:$NDK_ROOT@
@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := game_shared
LOCAL_MODULE_FILENAME := libgame
LOCAL_SRC_FILES := hellocpp/main.cpp …/…/Classes/AppDelegate.cpp /* a lot o classes */
LOCAL_C_INCLUDES := $(LOCAL_PATH)/…/…/Classes $(LOCAL_PATH)/…/…/libs/Box2d
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static cocosdenshion_static cocos_extension_static box2d_static
include $(BUILD_SHARED_LIBRARY)
$(call import-module,CocosDenshion/android) $(call import-module,cocos2dx) $(call import-module,extensions) $(call import-module,external/Box2D)
@
i readed a lot of post about this error , but none used the last version of cocox2dx-v2
thanks