Ad Plugins version 2.5.0.0 issue

Ad Plugins version 2.5.0.0 issue
0

Hi. SDK BOX updated plugins for ads to version 2.5.0.0 and now I can’t build an apk. I’m getting an error:

Build command failed.
Error while executing process C:\Android\sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\Work\HTML5\ADP\test_build\jsb-link\frameworks\runtime-src\proj.android-studio\app\jni\Android.mk NDK_APPLICATION_MK=D:\Work\HTML5\ADP\test_build\jsb-link\frameworks\runtime-src\proj.android-studio\app\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=D:/Work/HTML5/ADP/test_build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\Work\HTML5\ADP\test_build\jsb-link\frameworks\runtime-src\proj.android-studio\app\build\intermediates\ndkBuild\debug\lib NDK_TOOLCHAIN_VERSION=clang NDK_MODULE_PATH=C:\CocosCreator\resources\cocos2d-x;C:\CocosCreator\resources\cocos2d-x\cocos;C:\CocosCreator\resources\cocos2d-x\external -j4 NDK_DEBUG=1 D:/Work/HTML5/ADP/test_build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libcocos2djs.so}
C:/Android/sdk/ndk-bundle/build//…/build/core/build-binary.mk:663: Android NDK: Module cocos2djs_shared depends on undefined modules: adcolonyso jsso
C:/Android/sdk/ndk-bundle/build//…/build/core/build-binary.mk:676: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop.

Do you know how to fix it?
Thanks in advance.

I’ve found what’s wrong. In version 2.5.0.0 of adColony plugin developers commented these lines:

include $(CLEAR_VARS)
LOCAL_MODULE := libadcolonyso
LOCAL_SRC_FILES := libs/$(TARGET_ARCH_ABI)/libadcolony.so
include $(PREBUILT_SHARED_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := libjsso
LOCAL_SRC_FILES := libs/$(TARGET_ARCH_ABI)/libjs.so
include $(PREBUILT_SHARED_LIBRARY)

in file Android.mk located in “frameworks\runtime-src\proj.android-studio\app\jni\PluginAdcolony”

After uncommenting it apk-building was successful.

yes, the adcolony SDK has removed the dependence.
sorry for the inconvenient.