Hi.
maybe I’m blind but I can not find a link to download sdkbox, where is it placed?
Hi.
maybe I’m blind but I can not find a link to download sdkbox, where is it placed?
sdkbox actually came with cocos2d-x since 3.7
If you want to instal sdkbox separately, you can download it here
http://download.sdkbox.com/installer/v1/sdkbox_installer.zip
hi, thanks for reply.
i updated my project from 3.6 to 3.8 and sdkbox is here.
looks like some error happens:
Mac-mini-Aleksandr:brr_client_cpp camkadev$ sdkbox import iap
_______ ______ _ _ ______ _____ _ _
|______ | \ |____/ |_____] | | \___/
______| |_____/ | \_ |_____] |_____| _/ \_
Copyright (c) 2015 Chukong Technologies Inc. v0.5.7.1
Failed to find source file /Users/camkadev/.sdkbox/plugins/sdkbox-iap_v1.3.0.17/plugin/android/libs/PluginGooglePlay.jar
Installation failed :(
this file is not there
I met the same error use the same verion sdkbox.
This version is the latest.
Just to be sure, grab the latest installer: http://download.sdkbox.com/installer/v1/sdkbox_installer.zip
does not help, because iap plugin does not have PluginGooglePlay.jar file
I can reproduce, thank you.
OK, @camkadev this has been fixed, currently being tested on our staging environment.
Can you help us test? Please use the following command:
[Redacted due to fix]
Can you update me after you do this?
EDIT: OK, production is updated with the fix…sdkbox import iap
sure i can help, i respect your work folks.
so currently it is work, but some thing does not patched
$ sdkbox import iap
_______ ______ _ _ ______ _____ _ _
|______ | \ |____/ |_____] | | \___/
______| |_____/ | \_ |_____] |_____| _/ \_
Copyright (c) 2015 Chukong Technologies Inc. v0.5.7.1
failed to patch file Cocos2dxActivity.java
failed to patch file AppDelegate.cpp
Please reference the online documentation to finish the integration:
http://sdkbox-doc.github.io/en/plugins/iap/v3-cpp/
Installation Successful :)
Yes, this is a bug as there are multiple patch versions and it has to try them all. Obviously since there are multiples, some are not correct for the version you might have. The failure is logged. This will be fixed.
If you see this Installation Successful :) you should be ok ![]()
ok 
i read manual installation instruction at the site and successfully patched it myself, but now my project compiles but does not run on device (i dont use emulator), any suggestion?
what is the output of adb logcat?
I’m OK too. The older version did not contain the Jar file.
i try to debug it with Idea 14
09-29 22:38:31.957 16036-16036/net.orionlab.brr D/dalvikvm﹕ Zygote::ForkAndSpecialize : 0
09-29 22:38:31.959 16036-16036/net.orionlab.brr D/dalvikvm﹕ zygote get new systemTid : 16036
09-29 22:38:31.959 16036-16036/net.orionlab.brr D/dalvikvm﹕ Late-enabling CheckJNI
09-29 22:38:31.960 16036-16041/net.orionlab.brr D/dalvikvm﹕ threadid=2: interp stack at 0x72a23000
09-29 22:38:31.960 16036-16042/net.orionlab.brr D/dalvikvm﹕ threadid=3: interp stack at 0x72b43000
09-29 22:38:31.960 16036-16042/net.orionlab.brr D/dalvikvm﹕ Elevating priority from 0 to -8
09-29 22:38:31.960 16036-16036/net.orionlab.brr D/jdwp﹕ prepping for JDWP over ADB
09-29 22:38:31.961 16036-16043/net.orionlab.brr D/dalvikvm﹕ threadid=4: interp stack at 0x72c64000
09-29 22:38:31.961 16036-16043/net.orionlab.brr D/jdwp﹕ JDWP: thread running
09-29 22:38:31.961 16036-16043/net.orionlab.brr D/jdwp﹕ trying to receive file descriptor from ADB
09-29 22:38:31.961 16036-16044/net.orionlab.brr D/dalvikvm﹕ threadid=5: interp stack at 0x75f94000
09-29 22:38:31.961 16036-16036/net.orionlab.brr D/dalvikvm﹕ zygote get thread init done
09-29 22:38:31.961 16036-16036/net.orionlab.brr D/dalvikvm﹕ create interp thread : stack size=128KB
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ create new thread
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ new thread created
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ update thread list
09-29 22:38:31.962 16036-16045/net.orionlab.brr D/dalvikvm﹕ threadid=6: interp stack at 0x75fb4000
09-29 22:38:31.962 16036-16045/net.orionlab.brr D/dalvikvm﹕ threadid=6: created from interp
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ start new thread
09-29 22:38:31.962 16036-16045/net.orionlab.brr D/dalvikvm﹕ threadid=6: notify debugger
09-29 22:38:31.962 16036-16045/net.orionlab.brr D/dalvikvm﹕ threadid=6 (ReferenceQueueDaemon): calling run()
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ create interp thread : stack size=128KB
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ create new thread
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ new thread created
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ update thread list
09-29 22:38:31.962 16036-16046/net.orionlab.brr D/dalvikvm﹕ threadid=7: interp stack at 0x760d2000
09-29 22:38:31.962 16036-16046/net.orionlab.brr D/dalvikvm﹕ threadid=7: created from interp
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ start new thread
09-29 22:38:31.962 16036-16046/net.orionlab.brr D/dalvikvm﹕ threadid=7: notify debugger
09-29 22:38:31.962 16036-16046/net.orionlab.brr D/dalvikvm﹕ threadid=7 (FinalizerDaemon): calling run()
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ create interp thread : stack size=128KB
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ create new thread
09-29 22:38:31.962 16036-16036/net.orionlab.brr D/dalvikvm﹕ new thread created
09-29 22:38:31.963 16036-16036/net.orionlab.brr D/dalvikvm﹕ update thread list
09-29 22:38:31.963 16036-16047/net.orionlab.brr D/dalvikvm﹕ threadid=8: interp stack at 0x761f0000
09-29 22:38:31.963 16036-16047/net.orionlab.brr D/dalvikvm﹕ threadid=8: created from interp
09-29 22:38:31.963 16036-16036/net.orionlab.brr D/dalvikvm﹕ start new thread
09-29 22:38:31.963 16036-16047/net.orionlab.brr D/dalvikvm﹕ threadid=8: notify debugger
09-29 22:38:31.963 16036-16047/net.orionlab.brr D/dalvikvm﹕ threadid=8 (FinalizerWatchdogDaemon): calling run()
09-29 22:38:31.970 16036-16048/net.orionlab.brr D/dalvikvm﹕ threadid=9: interp stack at 0x7660d000
09-29 22:38:31.971 16036-16043/net.orionlab.brr D/jdwp﹕ received file descriptor 38 from ADB
09-29 22:38:31.971 16036-16049/net.orionlab.brr D/dalvikvm﹕ threadid=10: interp stack at 0x7672e000
09-29 22:38:32.063 16036-16036/net.orionlab.brr V/Provider/Settings﹕ invalidate [system]: current 245 != cached 0
09-29 22:38:32.066 16036-16036/net.orionlab.brr D/ActivityThread﹕ hoder:android.app.IActivityManager$ContentProviderHolder@41f9c078,provider,holder.Provider:android.content.ContentProviderProxy@41f9c7f8
09-29 22:38:32.068 16036-16036/net.orionlab.brr V/Provider/Settings﹕ from db cache, name = anr_debugging_mechanism , value = 1
09-29 22:38:32.071 16036-16036/net.orionlab.brr D/dalvikvm﹕ No JNI_OnLoad found in /system/lib/libFonts.so 0x0, skipping init
09-29 22:38:32.076 16036-16036/net.orionlab.brr D/asset﹕ AssetManager-->addDefaultAssets CIP path not exsit!
09-29 22:38:32.079 16036-16036/net.orionlab.brr W/ActivityThread﹕ Application net.orionlab.brr is waiting for the debugger on port 8100...
09-29 22:38:32.080 16036-16036/net.orionlab.brr I/System.out﹕ Sending WAIT chunk
09-29 22:38:32.087 16036-16043/net.orionlab.brr I/dalvikvm﹕ Debugger is active
09-29 22:38:32.280 16036-16036/net.orionlab.brr I/System.out﹕ Debugger has connected
09-29 22:38:32.280 16036-16036/net.orionlab.brr D/jdwp﹕ +++ debugger interval=9
09-29 22:38:32.281 16036-16036/net.orionlab.brr I/System.out﹕ waiting for debugger to settle...
09-29 22:38:32.481 16036-16036/net.orionlab.brr D/jdwp﹕ +++ debugger interval=62
09-29 22:38:32.481 16036-16036/net.orionlab.brr I/System.out﹕ waiting for debugger to settle...
09-29 22:38:32.681 16036-16036/net.orionlab.brr D/jdwp﹕ +++ debugger interval=262
09-29 22:38:32.681 16036-16036/net.orionlab.brr I/System.out﹕ waiting for debugger to settle...
09-29 22:38:32.882 16036-16036/net.orionlab.brr D/jdwp﹕ +++ debugger interval=463
09-29 22:38:32.882 16036-16036/net.orionlab.brr I/System.out﹕ waiting for debugger to settle...
09-29 22:38:33.082 16036-16036/net.orionlab.brr D/jdwp﹕ +++ debugger interval=663
09-29 22:38:33.082 16036-16036/net.orionlab.brr I/System.out﹕ waiting for debugger to settle...
09-29 22:38:33.282 16036-16036/net.orionlab.brr D/jdwp﹕ +++ debugger interval=864
09-29 22:38:33.282 16036-16036/net.orionlab.brr I/System.out﹕ waiting for debugger to settle...
09-29 22:38:33.483 16036-16036/net.orionlab.brr D/jdwp﹕ +++ debugger interval=1064
09-29 22:38:33.483 16036-16036/net.orionlab.brr I/System.out﹕ waiting for debugger to settle...
09-29 22:38:33.684 16036-16036/net.orionlab.brr D/jdwp﹕ +++ debugger interval=1265
09-29 22:38:33.684 16036-16036/net.orionlab.brr I/System.out﹕ waiting for debugger to settle...
09-29 22:38:33.884 16036-16036/net.orionlab.brr D/jdwp﹕ +++ debugger interval=1466
09-29 22:38:33.885 16036-16036/net.orionlab.brr I/System.out﹕ debugger has settled (1466)
09-29 22:38:33.890 16036-16036/net.orionlab.brr D/Proxy﹕ setHttpRequestCheckHandler
09-29 22:38:33.895 16036-16036/net.orionlab.brr D/dalvikvm﹕ open_cached_dex_file : /data/app/net.orionlab.brr-2.apk /data/dalvik-cache/data@app@net.orionlab.brr-2.apk@classes.dex
09-29 22:38:33.903 16036-16036/net.orionlab.brr D/ActivityThread﹕ BIND_APPLICATION handled : 0 / AppBindData{appInfo=ApplicationInfo{41f99860 net.orionlab.brr}}
09-29 22:38:33.930 16036-16036/net.orionlab.brr D/dalvikvm﹕ Trying to load lib /data/app-lib/net.orionlab.brr-2/libcocos2dcpp.so 0x41f9fcd0
09-29 22:38:33.951 16036-16036/net.orionlab.brr D/dalvikvm﹕ Added shared lib /data/app-lib/net.orionlab.brr-2/libcocos2dcpp.so 0x41f9fcd0
09-29 22:38:33.951 16036-16036/net.orionlab.brr D/JniHelper﹕ JniHelper::setJavaVM(0x41867e00), pthread_self() = 1073893764
09-29 22:38:33.952 16036-16036/net.orionlab.brr A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 16036 (et.orionlab.brr)
09-29 22:38:44.525 16076-16076/net.orionlab.brr V/Provider/Settings﹕ invalidate [system]: current 245 != cached 0
09-29 22:38:44.527 16076-16076/net.orionlab.brr D/ActivityThread﹕ hoder:android.app.IActivityManager$ContentProviderHolder@41f9cf70,provider,holder.Provider:android.content.ContentProviderProxy@41f9d6f0
09-29 22:38:44.528 16076-16076/net.orionlab.brr V/Provider/Settings﹕ from db cache, name = anr_debugging_mechanism , value = 1
09-29 22:38:44.531 16076-16076/net.orionlab.brr D/dalvikvm﹕ No JNI_OnLoad found in /system/lib/libFonts.so 0x0, skipping init
09-29 22:38:44.535 16076-16076/net.orionlab.brr D/asset﹕ AssetManager-->addDefaultAssets CIP path not exsit!
09-29 22:38:44.539 16076-16076/net.orionlab.brr W/ActivityThread﹕ Application net.orionlab.brr is waiting for the debugger on port 8100...
09-29 22:38:44.546 16076-16076/net.orionlab.brr I/System.out﹕ Sending WAIT chunk
09-29 22:38:45.967 16076-16088/net.orionlab.brr I/ActivityThread﹕ requestRelaunchActivity target = null
with iOS its run good
Let me ask @nite to take a look at the log you posted.
I don’t see any crash log related with sdkbox, can you try the sample and see if it works on your device?
https://github.com/chukong/sdkbox-iap-sample
sample works good, looks like i something misconfigured at my project
sample created with 3.8 version, can you please update sample to 3.8.1 ?
too much differences at Cocos2dxActivity.java i dont understand what to change