Failure to compile APK using SDKBOX and HMS

Hello everyone, import the HMS service using the command

$ sdkbox import hms

From this url: http://docs.sdkbox.com/en/plugins/hms/v3-js/

But when compiling it throws the following error:

In file included from C:/Users/LUA/huawei/app/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/…/…/…/Classes/PluginShareJSHelper.cpp:1:
In file included from C:/Users/LUA/huawei/app/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/…/…/…/Classes/PluginShareJSHelper.h:5:
In file included from C:/CocosCreator_2.2.0/resources/cocos2d-x/cocos\scripting/js-bindings/manual/jsb_conversions.hpp:38:
In file included from C:/CocosCreator_2.2.0/resources/cocos2d-x/cocos/…\cocos/editor-support/spine/spine.h:53:
C:/CocosCreator_2.2.0/resources/cocos2d-x/cocos/editor-support\spine/Debug.h:34:10: warning: non-portable path to file ‘<spine/extension.h>’; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include <spine/Extension.h>
^~~~~~~~~~~~~~~~~~~
<spine/extension.h>
In file included from C:/Users/LUA/huawei/app/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/…/…/…/Classes/PluginShareJSHelper.cpp:1:
In file included from C:/Users/LUA/huawei/app/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/…/…/…/Classes/PluginShareJSHelper.h:5:
In file included from C:/CocosCreator_2.2.0/resources/cocos2d-x/cocos\scripting/js-bindings/manual/jsb_conversions.hpp:38:
C:/CocosCreator_2.2.0/resources/cocos2d-x/cocos/…\cocos/editor-support/spine/spine.h:59:10: warning: non-portable path to file ‘<spine/extension.h>’; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include <spine/Extension.h>
^~~~~~~~~~~~~~~~~~~
<spine/extension.h>
8 warnings generated.
[arm64-v8a] Compile++ : cocos2dx_static <= cocos2d.cpp
[arm64-v8a] Compile++ : cocos2dx_static <= CCFileUtils.cpp
8 warnings generated.
[arm64-v8a] Compile++ : cocos2dx_static <= CCImage.cpp
8 warnings and 1 error generated.
8 warnings generated.
make: *** [C:/Users/LUA/huawei/app/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/release/obj/local/arm64-v8a/objs/cocos2djs_shared///__/Classes/PluginHMSJSHelper.o] Error 1
make: *** Waiting for unfinished jobs…

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 13s
45 actionable tasks: 2 executed, 43 up-to-date
Error running command, return code: 1.

Do you know what can be?

HMS plugin, we are still developing.

if you want to try, here is a creator sample:

Thanks for the info

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.