[sdkbox AdColony]listener was not called or skipped

I have test the official sample (sdkbox-sample-adcolony/js at master · sdkbox/sdkbox-sample-adcolony · GitHub) .
If I set up 11 zones, the listener may not be called.
Here is the log after the movie played

I/AdColony(15471): [ADC] AdColony pause called.
D/Cocos2dxActivity(15471): onResume()
I/AdColony(15471): [ADC] AdColony resume called.
I/Choreographer(15471): Skipped 31 frames! The application may be doing too much work on its main thread.
D/dalvikvm(15471): GC_EXPLICIT freed 6710K, 32% free 11096K/16140K, paused 21ms+10ms, total 169ms
D/Cocos2dxActivity(15471): onWindowFocusChanged() hasFocus=true
D/cocos2d-x debug info(15471): JS: onAdColonyStarted
D/cocos2d-x debug info(15471): JS: dump:
D/cocos2d-x debug info(15471): JS: - name: v4vc11
D/cocos2d-x debug info(15471): JS: - zoneID: vz3f0f045eddbc4b3599
D/cocos2d-x debug info(15471): JS: - shown: true
D/cocos2d-x debug info(15471): JS: - iapEnabled: true
D/cocos2d-x debug info(15471): JS: - iapProductID:
D/cocos2d-x debug info(15471): JS: - iapQuantity: 1667493888
D/cocos2d-x debug info(15471): JS: - iapEngagementType: 4186112
D/cocos2d-x debug info(15471): JS: onAdColonyChange
D/cocos2d-x debug info(15471): JS: dump:
D/cocos2d-x debug info(15471): JS: - name: v4vc11
D/cocos2d-x debug info(15471): JS: - zoneID: vz3f0f045eddbc4b3599
D/cocos2d-x debug info(15471): JS: - shown: true
D/cocos2d-x debug info(15471): JS: - iapEnabled: true
D/cocos2d-x debug info(15471): JS: - iapProductID:
D/cocos2d-x debug info(15471): JS: - iapQuantity: 1559940224
D/cocos2d-x debug info(15471): JS: - iapEngagementType: 1076303173
D/cocos2d-x debug info(15471): JS: false
D/cocos2d-x debug info(15471): JS: onAdColonyChange
D/cocos2d-x debug info(15471): JS: dump:
D/cocos2d-x debug info(15471): JS: - name: v4vc11
D/cocos2d-x debug info(15471): JS: - zoneID: vz3f0f045eddbc4b3599
D/cocos2d-x debug info(15471): JS: - shown: true
D/cocos2d-x debug info(15471): JS: - iapEnabled: true
D/cocos2d-x debug info(15471): JS: - iapProductID:
D/cocos2d-x debug info(15471): JS: - iapQuantity: 1559940224
D/cocos2d-x debug info(15471): JS: - iapEngagementType: 1076303173
D/cocos2d-x debug info(15471): JS: true
D/cocos2d-x debug info(15471): JS: onAdColonyFinished
D/cocos2d-x debug info(15471): JS: dump:
D/cocos2d-x debug info(15471): JS: - name: v4vc11
D/cocos2d-x debug info(15471): JS: - zoneID: vz3f0f045eddbc4b3599
D/cocos2d-x debug info(15471): JS: - shown: true
D/cocos2d-x debug info(15471): JS: - iapEnabled: false
D/cocos2d-x debug info(15471): JS: - iapProductID:
D/cocos2d-x debug info(15471): JS: - iapQuantity: 1
D/cocos2d-x debug info(15471): JS: - iapEngagementType: 0
I/System.out(15471): Exiting monitor
I/dalvikvm(15471): Jit: resizing JitTable from 4096 to 8192

As you can see the “onAdColonyReward” is not called.

I/Choreographer(15471): Skipped 31 frames! The application may be doing too much work on its main thread.

or it was skipped?

If I use only 2 zones, it would be fine, But I need to use 11 zones.
What should I do?

Please help

please help!

Thanks for your test case.
Let’s check and fix it ASAP.

1 Like

would you like to send your config.json to me ?

do you mean the sdkbox_config.json?
@yinjimmy

{
    "android": {
        "AdColony": {
            "debug": true, 
            "id": "app4941542996cd4935ad", 
            "ads": {
                "v4vc": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vze151d83bb3ed463fb3", 
                    "post_popup": false
                },
                "v4vc2": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vz8b852a9c4aac480e88", 
                    "post_popup": false
                },
                "v4vc3": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vzf4af58f13b944b2d99", 
                    "post_popup": false
                },
                "v4vc4": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vz4a94f1e8682d4adabf", 
                    "post_popup": false
                },
                "v4vc5": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vzb8f574abcc6c405aa1", 
                    "post_popup": false
                },
                "v4vc6": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vz6f9e3b28a0764438bd", 
                    "post_popup": false
                },
                "v4vc7": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vzfb28c5415fd946eda4", 
                    "post_popup": false
                },
                "v4vc8": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vz9d8db41c25244736aa", 
                    "post_popup": false
                },
                "v4vc9": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vzceaa168295844c4e81", 
                    "post_popup": false
                },
                "v4vc10": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vz48165342b1da45ccbd", 
                    "post_popup": false
                },
                "v4vc11": {
                    "v4vc": true, 
                    "pre_popup": false, 
                    "zone": "vz3f0f045eddbc4b3599", 
                    "post_popup": false
                }
            }
        }
    }, 
    "ios": {
        "AdColony": {
            "debug": true, 
            "id": "appbdee68ae27024084bb334a", 
            "ads": {
                "v4vc": {
                    "v4vc": true, 
                    "pre_popup": true, 
                    "zone": "vzf8e4e97704c4445c87504e", 
                    "post_popup": true
                }, 
                "video": {
                    "v4vc": false, 
                    "zone": "vzf8fb4670a60e4a139d01b5"
                }
            }
        }
    }
}

hope it would help

Hei man,

There isn’t video item in your config. For example:

                "video": {
                    "v4vc": false,
                    "zone": "vzf8fb4670a60e4a139d01b5"
                }

Just "v4vc" item.

@yinjimmy
yes, because only what I want is V4VC.
you should know that v4vc is also video. The different between “v4vc:true” and “v4vc:false” is only v4vc have onReward callback and pre_popup(post_popup).

v4vc:
https://github.com/AdColony/AdColony-Android-SDK/wiki/Showing-V4VC-Videos

not v4vc:
https://github.com/AdColony/AdColony-Android-SDK/wiki/Showing-Interstitial-Videos

but that is not the problem.

what I have found is when I use that config and press the menu item.

new cc.MenuItemFont("show v4vc", function() {
                sdkbox.PluginAdColony.show("v4vc");
                cc.log("show v4vc");
            }),

I can only get onAdColonyReward callback 5~8times/10 times. As the log I post at first. “onAdColonyStarted” and “onAdColonyFinished” is called but “onAdColonyReward” is miss.

but if I only use 2 or 3 zones, I will got onAdColonyReward callback 100% after I see the video.
and I test on android.

device: Nexus5
os: 6.0.1

I tested https://github.com/sdkbox/sdkbox-sample-adcolony/tree/master/js with your sdkbox_config.json .
Click show v4vc 10 times when it’s ready, and got 100% onAdColonyReward callback.

Or you can test with https://github.com/AdColony/AdColony-Android-SDK/tree/master/Demo%20Apps/V4VCDemo .

@yinjimmy

i test with this:

and I think I should give you the full log :

I/ActivityManager(  404): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sdkbox.sample.adcolony.js/org.cocos2dx.javascript.AppActivity} from pid 683
D/dalvikvm( 5261): Late-enabling CheckJNI
I/ActivityManager(  404): Start proc com.sdkbox.sample.adcolony.js for activity com.sdkbox.sample.adcolony.js/org.cocos2dx.javascript.AppActivity: pid=5261 uid=10145 gids={50145, 3003, 1015, 1028}
I/dalvikvm( 5261): Turning on JNI app bug workarounds for target SDK version 9...
D/dalvikvm( 5261): Trying to load lib /data/app-lib/com.sdkbox.sample.adcolony.js-1/libcocos2djs.so 0x41634090
D/dalvikvm( 5261): Added shared lib /data/app-lib/com.sdkbox.sample.adcolony.js-1/libcocos2djs.so 0x41634090
D/JniHelper( 5261): JniHelper::setJavaVM(0x40cf2f10), pthread_self() = 1074373596
D/main    ( 5261): cocos_android_app_init
I/SDKBOX_CORE( 5261): Sdkbox Droid starting.
I/SDKBOX_CORE( 5261): Sdkbox got VM.
I/SDKBOX_CORE( 5261): Sdkbox jni initialized.
W/ActivityManager(  404): Unable to start service Intent { act=com.enhance.gameservice.IGameTuningService pkg=com.enhance.gameservice } U=0: not found
D/Cocos2dxActivity( 5261): model=Galaxy Nexus
D/Cocos2dxActivity( 5261): product=yakjusc
D/Cocos2dxActivity( 5261): isEmulator=false
D/CocosPlayClient.cpp( 5261): isEnabled = 0
D/CocosPlayClient.cpp( 5261): isDemo = 0
D/CocosPlayClient.cpp( 5261): isNotifyFileLoadedEnabled = 0
D/Cocos2dxActivity( 5261): onResume()
V/PhoneStatusBar(  532): setLightsOn(true)
D/libEGL  ( 5261): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL  ( 5261): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL  ( 5261): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
D/Cocos2dxActivity( 5261): onWindowFocusChanged() hasFocus=true
I/ActivityManager(  404): Displayed com.sdkbox.sample.adcolony.js/org.cocos2dx.javascript.AppActivity: +499ms
D/cocos2d-x debug info( 5261): 
D/cocos2d-x debug info( 5261): {
D/cocos2d-x debug info( 5261):  gl.supports_vertex_array_object: true
D/cocos2d-x debug info( 5261):  gl.supports_BGRA8888: true
D/cocos2d-x debug info( 5261):  gl.supports_ATITC: false
D/cocos2d-x debug info( 5261):  gl.supports_S3TC: false
D/cocos2d-x debug info( 5261):  cocos2d.x.version: cocos2d-x-3.9
D/cocos2d-x debug info( 5261):  gl.supports_discard_framebuffer: true
D/cocos2d-x debug info( 5261):  cocos2d.x.compiled_with_profiler: false
D/cocos2d-x debug info( 5261):  gl.supports_PVRTC: true
D/cocos2d-x debug info( 5261):  cocos2d.x.build_type: DEBUG
D/cocos2d-x debug info( 5261):  gl.renderer: PowerVR SGX 540
D/cocos2d-x debug info( 5261):  gl.supports_ETC1: true
D/cocos2d-x debug info( 5261):  cocos2d.x.compiled_with_gl_state_cache: true
D/cocos2d-x debug info( 5261):  gl.version: OpenGL ES 2.0 build 1.8.GOOGLENEXUS.ED945322@2198402
D/cocos2d-x debug info( 5261):  gl.supports_NPOT: true
D/cocos2d-x debug info( 5261):  gl.max_texture_units: 8
D/cocos2d-x debug info( 5261):  gl.vendor: Imagination Technologies
D/cocos2d-x debug info( 5261):  gl.max_texture_size: 2048
D/cocos2d-x debug info( 5261): }
D/cocos2d-x debug info( 5261): 
D/cocos2d-x debug info( 5261): 
D/cocos2d-x debug info( 5261): cocos2d: fullPathForFilename: No file found at script/jsb_prepare.jsc. Possible missing file.
W/dalvikvm( 5261): dvmFindClassByName rejecting 'org/cocos2dx/lib/Cocos2dxLocalStorage'
I/dalvikvm( 5261): Could not find method com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo, referenced from method com.sdkbox.plugin.TrackingInfoAndroid$1.run
W/dalvikvm( 5261): VFY: unable to resolve static method 538: Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;.getAdvertisingIdInfo (Landroid/content/Context;)Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;
D/dalvikvm( 5261): VFY: replacing opcode 0x71 at 0x0005
E/TrackingInfo( 5261): reqAdvertisingIdentifier Error:java.lang.NoClassDefFoundError: com.google.android.gms.ads.identifier.AdvertisingIdClient
D/cocos2d-x debug info( 5261): cocos2d: fullPathForFilename: No file found at script/jsb_boot.jsc. Possible missing file.
D/cocos2d ( 5261): android build version:17
D/cocos2d-x debug info( 5261): JS: Cocos2d-JS v3.9
D/cocos2d-x debug info( 5261): create rendererRecreatedListener for GLProgramState
D/cocos2d-x debug info( 5261): JS: Sample Startup
I/SDKBOX_CORE( 5261): Initialization request for plugin: 'com/sdkbox/plugin/PluginAdColony'
I/dalvikvm( 5261): Could not find method com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo, referenced from method com.jirbo.adcolony.AdColony$a.a
W/dalvikvm( 5261): VFY: unable to resolve static method 538: Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;.getAdvertisingIdInfo (Landroid/content/Context;)Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;
D/dalvikvm( 5261): VFY: replacing opcode 0x71 at 0x0003
I/AdColony( 5261): ==== Configuring AdColony 2.3.2 with app/zone ids: ====
I/AdColony( 5261): app4941542996cd4935ad
I/AdColony( 5261): vz8b852a9c4aac480e88
I/AdColony( 5261): vzceaa168295844c4e81
I/AdColony( 5261): vzfb28c5415fd946eda4
I/AdColony( 5261): vz48165342b1da45ccbd
I/AdColony( 5261): vz9d8db41c25244736aa
I/AdColony( 5261): vz3f0f045eddbc4b3599
I/AdColony( 5261): vzb8f574abcc6c405aa1
I/AdColony( 5261): vz6f9e3b28a0764438bd
I/AdColony( 5261): vzf4af58f13b944b2d99
I/AdColony( 5261): vze151d83bb3ed463fb3
I/AdColony( 5261): vz4a94f1e8682d4adabf
E/AdColony( 5261): Google Play Services SDK not installed! Collecting Android Id instead of Advertising Id.
D/cocos2d-x debug info( 5261): create rendererRecreatedListener for GLProgramState
D/dalvikvm( 5261): GC_CONCURRENT freed 267K, 4% free 8914K/9212K, paused 6ms+2ms, total 30ms
D/dalvikvm( 5261): WAIT_FOR_CONCURRENT_GC blocked 5ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 294K, 4% free 8958K/9280K, paused 17ms, total 19ms
I/dalvikvm-heap( 5261): Grow heap (frag case) to 9.599MB for 865546-byte allocation
D/dalvikvm( 5261): GC_FOR_ALLOC freed <1K, 4% free 9803K/10128K, paused 20ms, total 20ms
D/dalvikvm( 5261): GC_CONCURRENT freed 2K, 4% free 9801K/10128K, paused 3ms+4ms, total 25ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed <1K, 4% free 9801K/10128K, paused 10ms, total 10ms
I/dalvikvm-heap( 5261): Grow heap (frag case) to 10.421MB for 865546-byte allocation
D/dalvikvm( 5261): GC_FOR_ALLOC freed 0K, 3% free 10646K/10976K, paused 14ms, total 14ms
D/dalvikvm( 5261): GC_CONCURRENT freed 849K, 11% free 9828K/10976K, paused 2ms+7ms, total 22ms
D/dalvikvm( 5261): GC_CONCURRENT freed 33K, 7% free 10253K/10976K, paused 2ms+2ms, total 22ms
D/dalvikvm( 5261): GC_CONCURRENT freed 32K, 3% free 10725K/10976K, paused 2ms+2ms, total 20ms
D/dalvikvm( 5261): GC_CONCURRENT freed 915K, 9% free 10401K/11344K, paused 1ms+3ms, total 30ms
D/dalvikvm( 5261): GC_CONCURRENT freed 363K, 7% free 10617K/11344K, paused 16ms+2ms, total 51ms
D/dalvikvm( 5261): WAIT_FOR_CONCURRENT_GC blocked 17ms
D/dalvikvm( 5261): WAIT_FOR_CONCURRENT_GC blocked 20ms
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc5
D/cocos2d-x debug info( 5261): JS:   - zoneID: vzb8f574abcc6c405aa1
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1075067673
D/cocos2d-x debug info( 5261): JS: true
D/dalvikvm( 5261): GC_CONCURRENT freed 528K, 6% free 10673K/11344K, paused 3ms+3ms, total 38ms
D/dalvikvm( 5261): WAIT_FOR_CONCURRENT_GC blocked 25ms
I/dalvikvm-heap( 5261): Grow heap (frag case) to 10.501MB for 56864-byte allocation
D/dalvikvm( 5261): GC_FOR_ALLOC freed 3K, 6% free 10725K/11400K, paused 28ms, total 28ms
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc8
D/cocos2d-x debug info( 5261): JS:   - zoneID: vz9d8db41c25244736aa
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1097229192
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc9
D/cocos2d-x debug info( 5261): JS:   - zoneID: vzceaa168295844c4e81
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1097229192
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc3
D/cocos2d-x debug info( 5261): JS:   - zoneID: vzf4af58f13b944b2d99
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1097229192
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc7
D/cocos2d-x debug info( 5261): JS:   - zoneID: vzfb28c5415fd946eda4
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1097229192
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc10
D/cocos2d-x debug info( 5261): JS:   - zoneID: vz48165342b1da45ccbd
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1097229192
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc11
D/cocos2d-x debug info( 5261): JS:   - zoneID: vz3f0f045eddbc4b3599
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1097229192
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc4
D/cocos2d-x debug info( 5261): JS:   - zoneID: vz4a94f1e8682d4adabf
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1097229192
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc2
D/cocos2d-x debug info( 5261): JS:   - zoneID: vz8b852a9c4aac480e88
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1097229192
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc6
D/cocos2d-x debug info( 5261): JS:   - zoneID: vz6f9e3b28a0764438bd
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1097229192
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc
D/cocos2d-x debug info( 5261): JS:   - zoneID: vze151d83bb3ed463fb3
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1097229192
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1
D/cocos2d-x debug info( 5261): JS: true
D/dalvikvm( 5261): GC_FOR_ALLOC freed 114K, 7% free 10611K/11400K, paused 33ms, total 34ms
V/TemperatureChecker(  653): handleMessage :: msg.what = 0
D/TemperatureChecker(  653): getCurrentTemperature : currentTemp = 47400
D/TemperatureChecker(  653): getCurrentTemperature : currentTemp = 47400
D/cocos2d-x debug info( 5261): JS: show v4vc
I/ActivityManager(  404): START u0 {cmp=com.sdkbox.sample.adcolony.js/com.jirbo.adcolony.AdColonyFullscreen} from pid 5261
D/Cocos2dxActivity( 5261): onPause()
I/AdColony( 5261): [ADC] AdColony pause called.
I/ActivityManager(  404): Config changes=1480 {1.0 440mcc10mnc ja_JP ldltr sw360dp w598dp h335dp 320dpi nrml land finger -keyb/v/h -nav/h s.14}
I/InputReader(  404): Reconfiguring input devices.  changes=0x00000004
I/InputReader(  404): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', size 720x1280, orientation 1, mode 1, display id 0
I/dalvikvm( 5261): Could not find method android.webkit.WebView.evaluateJavascript, referenced from method com.jirbo.adcolony.ad.a
W/dalvikvm( 5261): VFY: unable to resolve virtual method 415: Landroid/webkit/WebView;.evaluateJavascript (Ljava/lang/String;Landroid/webkit/ValueCallback;)V
D/dalvikvm( 5261): VFY: replacing opcode 0x6e at 0x0012
D/dalvikvm(  532): GC_FOR_ALLOC freed 6923K, 39% free 13875K/22472K, paused 27ms, total 31ms
I/dalvikvm-heap(  532): Grow heap (frag case) to 19.686MB for 6410576-byte allocation
D/dalvikvm(  532): GC_CONCURRENT freed 943K, 15% free 19192K/22472K, paused 2ms+2ms, total 33ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 315K, 7% free 10687K/11396K, paused 46ms, total 47ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 73K, 6% free 10766K/11396K, paused 20ms, total 20ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 65K, 6% free 10845K/11476K, paused 19ms, total 20ms
I/dalvikvm-heap( 5261): Grow heap (frag case) to 10.794MB for 187408-byte allocation
D/dalvikvm( 5261): GC_FOR_ALLOC freed <1K, 6% free 11028K/11660K, paused 26ms, total 26ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 117K, 5% free 11138K/11708K, paused 31ms, total 31ms
I/AdColony( 5261): [ADC] AdColony resume called.
D/Cocos2dxActivity( 5261): onWindowFocusChanged() hasFocus=false
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] AVC profile = 66 (Baseline), level = 22
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] video dimensions are 568 x 320
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] Crop rect is 568 x 320 @ (0, 0)
V/PhoneStatusBar(  532): setLightsOn(true)
D/dalvikvm( 5261): GC_FOR_ALLOC freed 126K, 5% free 11303K/11892K, paused 37ms, total 38ms
I/dalvikvm-heap( 5261): Grow heap (frag case) to 14.316MB for 3409936-byte allocation
D/dalvikvm( 5261): GC_FOR_ALLOC freed <1K, 4% free 14633K/15224K, paused 25ms, total 25ms
D/dalvikvm( 5261): GC_CONCURRENT freed 77K, 5% free 14702K/15328K, paused 3ms+4ms, total 34ms
I/ActivityManager(  404): Displayed com.sdkbox.sample.adcolony.js/com.jirbo.adcolony.AdColonyFullscreen: +1s17ms
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] video dimensions are 640 x 416
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] Crop rect is 568 x 320 @ (0, 0)
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] video dimensions are 640 x 416
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] Crop rect is 568 x 320 @ (32, 24)
I/SoftAAC2(  131): Reconfiguring decoder: 48000 Hz, 2 channels
W/MediaPlayer( 5261): info/warning (3, 0)
I/MediaPlayer( 5261): Info (3,0)
I/AdColony( 5261): Received ad server response from:
I/AdColony( 5261): https://androidads23.adcolony.com/configure
I/AdColony( 5261): Finished parsing response for zone "vze151d83bb3ed463fb3": 1 ad(s). Attempting to cache media assets.
D/dalvikvm( 5261): GC_CONCURRENT freed 1448K, 9% free 15246K/16740K, paused 5ms+3ms, total 52ms
D/dalvikvm( 5261): WAIT_FOR_CONCURRENT_GC blocked 27ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 904K, 11% free 15422K/17220K, paused 26ms, total 26ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 288K, 12% free 15566K/17652K, paused 27ms, total 27ms
I/dalvikvm-heap( 5261): Grow heap (frag case) to 15.858MB for 662266-byte allocation
D/dalvikvm( 5261): GC_FOR_ALLOC freed 431K, 14% free 15781K/18300K, paused 33ms, total 33ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 2K, 14% free 15782K/18300K, paused 27ms, total 27ms
I/dalvikvm-heap( 5261): Grow heap (frag case) to 16.384MB for 993394-byte allocation
D/dalvikvm( 5261): GC_FOR_ALLOC freed 646K, 17% free 16105K/19272K, paused 29ms, total 29ms
D/dalvikvm(  404): GC_EXPLICIT freed 927K, 19% free 19581K/23980K, paused 6ms+11ms, total 149ms
I/AdColony( 5261): V4VC validated.
W/AudioFlinger(  131): session id 9 not found for pid 5261
D/TilesManager( 5261): Starting TG #0, 0x5a20bea0
D/webviewglue( 5261): nativeDestroy view: 0x59f862f0
I/AdColony( 5261): [ADC] AdColony pause called.
I/InputReader(  404): Reconfiguring input devices.  changes=0x00000004
I/InputReader(  404): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', size 720x1280, orientation 0, mode 1, display id 0
I/ActivityManager(  404): Config changes=1480 {1.0 440mcc10mnc ja_JP ldltr sw360dp w360dp h567dp 320dpi nrml port finger -keyb/v/h -nav/h s.15}
D/dalvikvm( 5261): GC_CONCURRENT freed 6525K, 38% free 11997K/19272K, paused 10ms+7ms, total 64ms
D/Cocos2dxActivity( 5261): onResume()
I/AdColony( 5261): [ADC] AdColony resume called.
D/dalvikvm( 5261): GC_EXPLICIT freed 1008K, 34% free 11088K/16724K, paused 3ms+4ms, total 54ms
D/Cocos2dxActivity( 5261): onWindowFocusChanged() hasFocus=true
D/cocos2d-x debug info( 5261): JS: onAdColonyStarted
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc
D/cocos2d-x debug info( 5261): JS:   - zoneID: vze151d83bb3ed463fb3
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1459222944
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1459270288
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc
D/cocos2d-x debug info( 5261): JS:   - zoneID: vze151d83bb3ed463fb3
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1478388736
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1076307269
D/cocos2d-x debug info( 5261): JS: false
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc
D/cocos2d-x debug info( 5261): JS:   - zoneID: vze151d83bb3ed463fb3
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1478388736
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1076307269
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: =========onAdColonyReward==========
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc
D/cocos2d-x debug info( 5261): JS:   - zoneID: vze151d83bb3ed463fb3
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1483465064
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1581710916
D/cocos2d-x debug info( 5261): JS: currencyName: Credits
D/cocos2d-x debug info( 5261): JS: amount: 1
D/cocos2d-x debug info( 5261): JS: success: true
D/cocos2d-x debug info( 5261): JS: onAdColonyFinished
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc
D/cocos2d-x debug info( 5261): JS:   - zoneID: vze151d83bb3ed463fb3
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: false
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 0
V/PhoneStatusBar(  532): setLightsOn(true)
D/dalvikvm(  404): GC_EXPLICIT freed 598K, 19% free 19513K/23980K, paused 8ms+10ms, total 136ms
D/cocos2d-x debug info( 5261): JS: show v4vc
I/ActivityManager(  404): START u0 {cmp=com.sdkbox.sample.adcolony.js/com.jirbo.adcolony.AdColonyFullscreen} from pid 5261
D/Cocos2dxActivity( 5261): onPause()
I/AdColony( 5261): [ADC] AdColony pause called.
I/ActivityManager(  404): Config changes=1480 {1.0 440mcc10mnc ja_JP ldltr sw360dp w598dp h335dp 320dpi nrml land finger -keyb/v/h -nav/h s.16}
I/InputReader(  404): Reconfiguring input devices.  changes=0x00000004
I/InputReader(  404): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', size 720x1280, orientation 1, mode 1, display id 0
D/dalvikvm( 5261): GC_CONCURRENT freed 642K, 33% free 11241K/16724K, paused 2ms+4ms, total 39ms
D/dalvikvm( 5261): WAIT_FOR_CONCURRENT_GC blocked 30ms
I/AdColony( 5261): [ADC] AdColony resume called.
D/Cocos2dxActivity( 5261): onWindowFocusChanged() hasFocus=false
D/dalvikvm( 5261): GC_CONCURRENT freed 563K, 32% free 11509K/16724K, paused 3ms+4ms, total 39ms
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] AVC profile = 66 (Baseline), level = 22
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] video dimensions are 568 x 320
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] Crop rect is 568 x 320 @ (0, 0)
V/PhoneStatusBar(  532): setLightsOn(true)
D/dalvikvm( 5261): GC_FOR_ALLOC freed 154K, 32% free 11423K/16724K, paused 25ms, total 25ms
I/dalvikvm-heap( 5261): Grow heap (frag case) to 14.434MB for 3409936-byte allocation
D/dalvikvm( 5261): GC_FOR_ALLOC freed <1K, 12% free 14753K/16724K, paused 24ms, total 24ms
D/dalvikvm( 5261): GC_CONCURRENT freed 172K, 12% free 14872K/16724K, paused 3ms+19ms, total 47ms
I/ActivityManager(  404): Displayed com.sdkbox.sample.adcolony.js/com.jirbo.adcolony.AdColonyFullscreen: +685ms
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] video dimensions are 640 x 416
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] Crop rect is 568 x 320 @ (0, 0)
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] video dimensions are 640 x 416
I/OMXCodec(  131): [OMX.TI.DUCATI1.VIDEO.DECODER] Crop rect is 568 x 320 @ (32, 24)
I/SoftAAC2(  131): Reconfiguring decoder: 48000 Hz, 2 channels
W/MediaPlayer( 5261): info/warning (3, 0)
I/MediaPlayer( 5261): Info (3,0)
D/dalvikvm(  404): GC_EXPLICIT freed 706K, 19% free 19539K/23980K, paused 4ms+9ms, total 142ms
I/AdColony( 5261): Received ad server response from:
I/AdColony( 5261): https://androidads23.adcolony.com/configure
I/AdColony( 5261): Finished parsing response for zone "vze151d83bb3ed463fb3": 1 ad(s). Attempting to cache media assets.
D/dalvikvm( 5261): GC_FOR_ALLOC freed 1468K, 11% free 15218K/16928K, paused 27ms, total 27ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 1001K, 11% free 15573K/17408K, paused 29ms, total 29ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 288K, 12% free 15716K/17840K, paused 26ms, total 26ms
I/dalvikvm-heap( 5261): Grow heap (frag case) to 16.006MB for 662266-byte allocation
D/dalvikvm( 5261): GC_FOR_ALLOC freed 431K, 14% free 15932K/18488K, paused 37ms, total 37ms
D/dalvikvm( 5261): GC_FOR_ALLOC freed 648K, 12% free 16256K/18472K, paused 23ms, total 23ms
I/dalvikvm-heap( 5261): Grow heap (frag case) to 16.727MB for 865546-byte allocation
D/dalvikvm( 5261): GC_FOR_ALLOC freed <1K, 12% free 17100K/19320K, paused 29ms, total 29ms
I/AdColony( 5261): V4VC validated.
W/AudioFlinger(  131): session id 10 not found for pid 5261
D/webviewglue( 5261): nativeDestroy view: 0x5a0cecd8
I/AdColony( 5261): [ADC] AdColony pause called.
I/ActivityManager(  404): Config changes=1480 {1.0 440mcc10mnc ja_JP ldltr sw360dp w360dp h567dp 320dpi nrml port finger -keyb/v/h -nav/h s.17}
I/InputReader(  404): Reconfiguring input devices.  changes=0x00000004
I/InputReader(  404): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', size 720x1280, orientation 0, mode 1, display id 0
I/InputReader(  404): Reconfiguring input devices.  changes=0x00000004
I/InputReader(  404): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', size 720x1280, orientation 0, mode 1, display id 0
D/Cocos2dxActivity( 5261): onResume()
I/AdColony( 5261): [ADC] AdColony resume called.
D/dalvikvm( 5261): GC_EXPLICIT freed 6406K, 34% free 11076K/16724K, paused 7ms+4ms, total 50ms
D/Cocos2dxActivity( 5261): onWindowFocusChanged() hasFocus=true
D/cocos2d-x debug info( 5261): JS: onAdColonyStarted
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc
D/cocos2d-x debug info( 5261): JS:   - zoneID: vze151d83bb3ed463fb3
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1668284416
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 12967936
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc
D/cocos2d-x debug info( 5261): JS:   - zoneID: vze151d83bb3ed463fb3
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1512072616
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1076307269
D/cocos2d-x debug info( 5261): JS: false
D/cocos2d-x debug info( 5261): JS: onAdColonyChange
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc
D/cocos2d-x debug info( 5261): JS:   - zoneID: vze151d83bb3ed463fb3
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: true
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1512072616
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 1076307269
D/cocos2d-x debug info( 5261): JS: true
D/cocos2d-x debug info( 5261): JS: onAdColonyFinished
D/cocos2d-x debug info( 5261): JS:   dump:
D/cocos2d-x debug info( 5261): JS:   - name: v4vc
D/cocos2d-x debug info( 5261): JS:   - zoneID: vze151d83bb3ed463fb3
D/cocos2d-x debug info( 5261): JS:   - shown: true
D/cocos2d-x debug info( 5261): JS:   - iapEnabled: false
D/cocos2d-x debug info( 5261): JS:   - iapProductID: 
D/cocos2d-x debug info( 5261): JS:   - iapQuantity: 1
D/cocos2d-x debug info( 5261): JS:   - iapEngagementType: 0
V/PhoneStatusBar(  532): setLightsOn(true)
I/System.out( 5261): Exiting monitor
D/dalvikvm(  404): GC_EXPLICIT freed 554K, 19% free 19516K/23980K, paused 8ms+11ms, total 161ms

@yinjimmy

I am so sorry, we are also facing this problem:

can you take a look at it?

@yinjimmy
do you have any update of this?

By the way, it seems that the AdColony plugin in Sdkbox is not the newest, do you have a schedule to update them?

You can update the AdColony SDK by yourself and test again.

@yinjimmy

i’m sorry for being boring.

I have updated the AdColony SDK to the latest version.And have fix the plugin like this:

But still have the same problem.
I test it on iPhone for 20 times, and there was one time that onAdColonyReward was not called.

Since it was happened on both Android and iOS, there may be something tricky in the plugin. please take a look at it.

hmm, I’ll test sample provide by AdColony. https://github.com/AdColony/AdColony-Android-SDK

Thank you for your info.

I make a sample with pure java code and your zone_ids.

https://github.com/yinjimmy/AdColony-Android-SDK

Please help to check the onAdColonyV4VCReward callback.

Thanks.

@yinjimmy
i have test that project. and the onAdColonyV4VCReward was called every single time.
I have also test the iOS sample project
https://github.com/AdColony/AdColony-iOS-SDK/tree/master/SampleApps/ObjC/AdColonyV4VC
and it was fine too.