0

I try to upgrade my sdkbox play to 2.3.16.1, but when i login SUCCESS and try to submit score (or achievement), my game is crashed (the sample project is using version 2.3.16 that not the same with 2.3.16.1)
Here is log:
[quote]
JS: connection status change: 1000 connection_status0
Submit score on leaderboard High score. score 0.
Fatal signal 11 (SIGSEGV) at 0x00000088 (code=1), thread 1955 (Thread-106)
[/quote]
Note:
1. when i comment function submitScore in my code, everything run ok
Please check for me@nite @yinjimmy :frowning:

htlxyz answered
    0
    htlxyz 876 Rep.

    we update sdkbox-sample-sdkboxplay js project just now, you can try again.

    Super Hero commented
      • I tested and it run ok now, thank for your help :)

      • More, I try to login to cocos2d-x forum but it always response error, i cannot login to ask about this problem, so lucky, i found i can ask you here 😀

      0
      0
      htlxyz 876 Rep.

      run sdkbox update under the path XXX/sdkbox-sample-sdkboxplay/js

      yinjimmy commented
        • After update, i got problem
          =======================
          make.exe: Entering directory C:/Users/CPU60026_LOCAL/Desktop/play/sdkbox-sample-sdkboxplay-master/js/frameworks/runtime-src/proj.android'
          [armeabi] Compile++ arm : cocos2djs_shared <= AppDelegate.cpp
          [armeabi] StaticLibrary : libcpufeatures.a
          [armeabi] SharedLibrary : libcocos2djs.so
          arm-linux-androideabi-g++: error: C:/Users/CPU60026_LOCAL/Desktop/play/sdkbox-sample-sdkboxplay-master/js/frameworks/runtime-src/proj.android/../../../../../sdkbox-cocos2d-x-binary/cocos/scripting/js-bindings/proj.android/prebuilt-mk/../../../../../prebuilt/android/armeabi/libjscocos2dandroid.a: No such file or directory
          make.exe: *** [obj/local/armeabi/libcocos2djs.so] Error 1
          make.exe: Leaving directory
          C:/Users/CPU60026_LOCAL/Desktop/play/sdkbox-sample-sdkboxplay-master/js/frameworks/runtime-src/proj.android'
          Error running command, return code: 2.
          =======================
          I found libjscocos2dandroid follow the path and it existed, can you help me?

        • @htlxyz: After a long time to build sample project, it run successful. However, the result is the same, i sign in success( my data display at the bottom) but when i click to "submit score 1000", the game is crashed. please help me :(

        0

        i update but sdkbox return " you have no packages installed."

        The project sample cannot run, log:

        ==========================

        running: '"D:\dev\tools\android-ndk-r10e\ndk-build" -C C:\Users\CPU60026_LOCAL\Desktop\play\sdkbox-sample-sdkboxplay-master\js\frameworks\runtime-src\proj.android -j4 NDK_MODULE_PATH=C:\Users\CPU60026_LOCAL\Desktop\play\sdkbox-sample-sdkboxplay-master\js\frameworks\runtime-src\proj.android\../../../../../sdkbox-cocos2d-x-binary;C:\Users\CPU60026_LOCAL\Desktop\play\sdkbox-sample-sdkboxplay-master\js\frameworks\runtime-src\proj.android\../../../../../sdkbox-cocos2d-x-binary/cocos;C:\Users\CPU60026_LOCAL\Desktop\play\sdkbox-sample-sdkboxplay-master\js\frameworks\runtime-src\proj.android\../../../../../sdkbox-cocos2d-x-binary/external NDK_TOOLCHAIN_VERSION=4.9'

        Android NDK: C:\Users\CPU60026_LOCAL\Desktop\play\sdkbox-sample-sdkboxplay-master\js\frameworks\runtime-src\proj.android\../../../../../sdkbox-cocos2d-x-binary/tools/simulator/libsimulator/proj.android/prebuilt-mk/Android.mk: Cannot find module with tag './sdkbox' in import path
        Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
        Android NDK: The following directories were searched:
        Android NDK:
        make.exe: Entering directory C:/Users/CPU60026_LOCAL/Desktop/play/sdkbox-sample-sdkboxplay-master/js/frameworks/runtime-src/proj.android'
        jni/Android.mk:36: *** Android NDK: Aborting. . Stop.
        make.exe: Leaving directory
        C:/Users/CPU60026_LOCAL/Desktop/play/sdkbox-sample-sdkboxplay-master/js/frameworks/runtime-src/proj.android'
        Error running command, return code: 2.

        ==========================

        after crash, i try to replace files from pack 2.3.16.1 by files in sample projects, but i cannot sign in, the status change callback 1002

        Super Hero answered
          0
          htlxyz 876 Rep.

          can you try sdkbox-sample-sdkboxplay js sample,

          you can update sdkboxplay by run sdkbox update

          htlxyz answered

            Question stats

            • Active
            • Views307 times
            • Answers5 answers
            • Followers1 follower

            Categories