sdkbox / issues

The issue tracker for SDKBOX
MIT License
4 stars 0 forks source link

creator-sdk-integration-error 1.6.2 with anysdk disable #27

Closed ghost closed 7 years ago

ghost commented 7 years ago

http://discuss.cocos2d-x.org/t/creator-sdk-integration-error/39619

One changed here. If you didn't enable ANYSDK, got this error

Android.mk:

ifeq ($(USE_ANY_SDK),1)
LOCAL_SRC_FILES += ../../Classes/anysdk/SDKManager.cpp ../../Classes/anysdk/jsb_anysdk_basic_conversions.cpp ../../Classes/anysdk/manualanysdkbindings.cpp ../../Classes/anysdk/jsb_anysdk_protocols_auto.cpp

LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../Classes/anysdk

LOCAL_WHOLE_STATIC_LIBRARIES := PluginProtocolStatic \
PluginChartboost \
sdkbox
endif

==>

ifeq ($(USE_ANY_SDK),1)
LOCAL_SRC_FILES += ../../Classes/anysdk/SDKManager.cpp ../../Classes/anysdk/jsb_anysdk_basic_conversions.cpp ../../Classes/anysdk/manualanysdkbindings.cpp ../../Classes/anysdk/jsb_anysdk_protocols_auto.cpp

LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../Classes/anysdk

LOCAL_WHOLE_STATIC_LIBRARIES := PluginProtocolStatic
endif

LOCAL_WHOLE_STATIC_LIBRARIES += PluginChartboost \
sdkbox

will fix this issue in next release.