Rewarded Video Issues

I’m having multiple issues with video rewards on SDKBox 1.3.1 + cocos2d-js 3.6.1:

  • AdColony: Too many times Status Zone is 2, so I can’t provide enough Ads (1 per session normally)
  • Vungle: Crash on Android < 5.x. When listeners functions are called on Android 4.2.2, I see a Fatal signal VungleAsyncMain error.
  • Chartboost: Rewarded video only work in a time: onChartboostFailedToLoad load error 6 / onChartboostFailedToLoad ShowAd load error 6

I really appreciate any help you can provide.

I tried now with:

  • Cocos2d-x 3.8.1
  • Vungle SDKBox 1.4
  • Android 4.2.2

Steps:

  1. cocos new vungle381 -l js

  2. sdk import vungle. I see #define SDKBOX_VERSION_STR “sdkbox V1.4.0.9” in frameworks\runtime-src\proj.android\jni\sdkbox

  3. Copy source sample https://github.com/chukong/sdkbox-vungle-sample/tree/master/js:

    • res
    • src
    • main.js
    • project.json
  4. cocos compile -p android -m debug --ap android-10 --ndk-mode debug --compile-script 1 -j 3

Same problem:

10-29 11:32:18.009: I/SDKBox(4704): class name : ----com/sdkbox/plugin/PluginVungle----
10-29 11:32:18.209: I/dalvikvm(4704): Failed resolving Lcom/vungle/publisher/location/GoogleLocationClientDetailedLocationProvider; interface 1601 ‘Lcom/google/android/gms/common/GooglePlayServicesClient$ConnectionCallbacks;’
10-29 11:32:18.209: W/dalvikvm(4704): Link of class ‘Lcom/vungle/publisher/location/GoogleLocationClientDetailedLocationProvider;’ failed
10-29 11:32:18.209: E/dalvikvm(4704): Could not find class ‘com.vungle.publisher.location.GoogleLocationClientDetailedLocationProvider’, referenced from method com.vungle.publisher.inject.ConfigurablePublisherModule.a
10-29 11:32:18.209: W/dalvikvm(4704): VFY: unable to resolve new-instance 6764 (Lcom/vungle/publisher/location/GoogleLocationClientDetailedLocationProvider;) in Lcom/vungle/publisher/inject/ConfigurablePublisherModule;
10-29 11:32:18.209: D/dalvikvm(4704): VFY: replacing opcode 0x22 at 0x0001
10-29 11:32:18.249: I/dalvikvm(4704): Failed resolving Lcom/vungle/publisher/location/GoogleLocationClientDetailedLocationProvider; interface 1601 ‘Lcom/google/android/gms/common/GooglePlayServicesClient$ConnectionCallbacks;’
10-29 11:32:18.249: W/dalvikvm(4704): Link of class ‘Lcom/vungle/publisher/location/GoogleLocationClientDetailedLocationProvider;’ failed
10-29 11:32:18.249: D/dalvikvm(4704): DexOpt: unable to opt direct call 0xa7fd at 0x03 in Lcom/vungle/publisher/inject/ConfigurablePublisherModule;.a
10-29 11:32:18.439: D/dalvikvm(4704): GC_CONCURRENT freed 366K, 19% free 2696K/3296K, paused 12ms+13ms, total 75ms
10-29 11:32:19.009: D/dalvikvm(4704): GC_CONCURRENT freed 231K, 15% free 2891K/3364K, paused 8ms+16ms, total 72ms
10-29 11:32:19.629: D/dalvikvm(4704): GC_CONCURRENT freed 369K, 18% free 2941K/3552K, paused 17ms+11ms, total 61ms
10-29 11:32:20.509: D/dalvikvm(4704): GC_CONCURRENT freed 352K, 18% free 3013K/3652K, paused 9ms+6ms, total 102ms
10-29 11:32:21.019: D/AlertService(4748): No fired or scheduled alerts
10-29 11:32:21.799: D/dalvikvm(3548): GC_CONCURRENT freed 161K, 15% free 3515K/4128K, paused 60ms+13ms, total 306ms
10-29 11:32:21.959: I/ActivityManager(428): No longer want org.cyanogenmod.voiceplus (pid 4449): empty #7
10-29 11:32:22.999: D/dalvikvm(4704): GC_CONCURRENT freed 323K, 16% free 3076K/3652K, paused 6ms+2ms, total 44ms
10-29 11:32:23.359: I/Icing(4402): Indexing done FCC3DC4E577FAC00213A984F6209D0CFBDC7D042
10-29 11:32:24.029: D/Finsky(3548): [372] AppStatesReplicator.handleContentSyncResponse: Completed 0 account content syncs with 0 successful.
10-29 11:32:24.029: D/Finsky(3548): [1] 5.onFinished: Installation state replication succeeded.
10-29 11:32:24.459: I/ActivityManager(428): No longer want com.tmobile.thememanager (pid 4629): empty #7
10-29 11:32:52.769: D/dalvikvm(636): GC_CONCURRENT freed 392K, 19% free 2727K/3356K, paused 14ms+12ms, total 146ms
10-29 11:33:39.709: D/dalvikvm(1009): GC_CONCURRENT freed 600K, 18% free 4026K/4884K, paused 4ms+16ms, total 326ms
10-29 11:33:39.899: D/dalvikvm(4402): GC_CONCURRENT freed 404K, 15% free 3943K/4604K, paused 21ms+17ms, total 134ms
10-29 11:33:40.299: D/SnetService(4402): snet destroyed
10-29 11:33:49.689: D/dalvikvm(636): GC_CONCURRENT freed 390K, 19% free 2726K/3352K, paused 2ms+4ms, total 50ms
10-29 11:33:53.099: W/VungleNetwork(4704): java.io.EOFException
10-29 11:33:58.279: D/dalvikvm(4704): GC_CONCURRENT freed 384K, 17% free 3121K/3748K, paused 15ms+15ms, total 102ms
10-29 11:34:05.259: D/dalvikvm(4704): GC_CONCURRENT freed 390K, 17% free 3138K/3768K, paused 7ms+14ms, total 130ms
10-29 11:34:07.249: D/dalvikvm(4704): GC_CONCURRENT freed 437K, 18% free 3177K/3852K, paused 5ms+16ms, total 126ms
10-29 11:34:35.709: D/dalvikvm(636): GC_CONCURRENT freed 388K, 19% free 2728K/3352K, paused 5ms+12ms, total 47ms
10-29 11:35:08.359: D/dalvikvm(554): GC_CONCURRENT freed 1905K, 42% free 4040K/6928K, paused 5ms+5ms, total 88ms
10-29 11:35:18.969: A/libc(4704): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 4846 (VungleAsyncMain)
10-29 11:35:19.049: D/dalvikvm(428): GC_CONCURRENT freed 2029K, 24% free 10421K/13576K, paused 50ms+30ms, total 562ms
10-29 11:35:19.079: I/DEBUG(111): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-29 11:35:19.079: I/DEBUG(111): Build fingerprint: ‘samsung/cm_jenad/jenad:4.2.2/JDQ39E/df85040187:userdebug/test-keys’
10-29 11:35:19.089: I/DEBUG(111): Revision: ‘0’
10-29 11:35:19.089: I/DEBUG(111): pid: 4704, tid: 4846, name: VungleAsyncMain >>> org.cocos2dx.vungle381 <<<
10-29 11:35:19.089: I/DEBUG(111): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
10-29 11:35:20.689: I/DEBUG(111): r0 411ae440 r1 00000002 r2 00000002 r3 51d7b3b4
10-29 11:35:20.689: I/DEBUG(111): r4 40942d2c r5 00730be0 r6 00000000 r7 4c330d20
10-29 11:35:20.689: I/DEBUG(111): r8 403f2f36 r9 403f2f36 sl 403f4787 fp 00000000
10-29 11:35:20.689: I/DEBUG(111): ip 55be4d9c sp 55be4d48 lr 4038ca24 pc 403a901c cpsr 40010030
10-29 11:35:20.689: I/DEBUG(111): d0 6544656c676e7556 d1 0000000000000000
10-29 11:35:20.699: I/DEBUG(111): d2 0000000000000000 d3 0000000000000000
10-29 11:35:20.699: I/DEBUG(111): d4 4c35b0904c02f2b0 d5 4c34bbd04c34bb98
10-29 11:35:20.699: I/DEBUG(111): d6 4c34bc404c35b218 d7 4c34bcb04c34bc78
10-29 11:35:20.699: I/DEBUG(111): d8 0000000000000000 d9 0000000000000000
10-29 11:35:20.699: I/DEBUG(111): d10 0000000000000000 d11 0000000000000000
10-29 11:35:20.699: I/DEBUG(111): d12 0000000000000000 d13 0000000000000000
10-29 11:35:20.699: I/DEBUG(111): d14 0000000000000000 d15 0000000000000000
10-29 11:35:20.699: I/DEBUG(111): d16 7fffffffffffffff d17 7fffffffffffffff
10-29 11:35:20.699: I/DEBUG(111): d18 0000000000000000 d19 4c34bea84c34be70
10-29 11:35:20.699: I/DEBUG(111): d20 4c35b1004c35b0c8 d21 4c35b1704c35b138
10-29 11:35:20.699: I/DEBUG(111): d22 4c35b1e04c35b1a8 d23 4c35b2884c35b250
10-29 11:35:20.709: I/DEBUG(111): d24 8000000000000000 d25 3f6dcabc4571abc1
10-29 11:35:20.709: I/DEBUG(111): d26 3f4375429245411f d27 3f30837711244472
10-29 11:35:20.709: I/DEBUG(111): d28 0000000000000000 d29 0000000000000000
10-29 11:35:20.709: I/DEBUG(111): d30 0000000100000001 d31 0000000100000001
10-29 11:35:20.709: I/DEBUG(111): scr 60000010
10-29 11:35:20.719: I/DEBUG(111): backtrace:
10-29 11:35:20.719: I/DEBUG(111): #00 pc 0004401c /system/lib/libdvm.so (dvmFindCatchBlock+51)
10-29 11:35:20.719: I/DEBUG(111): #01 pc 00027a20 /system/lib/libdvm.so
10-29 11:35:20.719: I/DEBUG(111): stack:
10-29 11:35:20.719: I/DEBUG(111): 55be4d08 00000182
10-29 11:35:20.719: I/DEBUG(111): 55be4d0c 40942cd8
10-29 11:35:20.719: I/DEBUG(111): 55be4d10 00000000
10-29 11:35:20.729: I/DEBUG(111): 55be4d14 4124d900 /dev/ashmem/dalvik-heap (deleted)
10-29 11:35:20.729: I/DEBUG(111): 55be4d18 00010c28 [heap]
10-29 11:35:20.729: I/DEBUG(111): 55be4d1c 40415100
10-29 11:35:20.729: I/DEBUG(111): 55be4d20 00000000
10-29 11:35:20.729: I/DEBUG(111): 55be4d24 4111b008 /dev/ashmem/dalvik-heap (deleted)
10-29 11:35:20.729: I/DEBUG(111): 55be4d28 00000018
10-29 11:35:20.729: I/DEBUG(111): 55be4d2c 00000018
10-29 11:35:20.729: I/DEBUG(111): 55be4d30 00000001
10-29 11:35:20.729: I/DEBUG(111): 55be4d34 40383640 /system/lib/libdvm.so
10-29 11:35:20.729: I/DEBUG(111): 55be4d38 00000001
10-29 11:35:20.739: I/DEBUG(111): 55be4d3c 40288874 /dev/ashmem/dalvik-aux-structure (deleted)
10-29 11:35:20.739: I/DEBUG(111): 55be4d40 e3a070ad
10-29 11:35:20.739: I/DEBUG(111): 55be4d44 ef9000ad
10-29 11:35:20.739: I/DEBUG(111): #00 55be4d48 00010c28 [heap]
10-29 11:35:20.739: I/DEBUG(111): 55be4d4c 40415100
10-29 11:35:20.739: I/DEBUG(111): 55be4d50 4124da88 /dev/ashmem/dalvik-heap (deleted)
10-29 11:35:20.739: I/DEBUG(111): 55be4d54 00000000
10-29 11:35:20.739: I/DEBUG(111): 55be4d58 4028840c /dev/ashmem/dalvik-aux-structure (deleted)
10-29 11:35:20.739: I/DEBUG(111): 55be4d5c 4d0c78f8 /data/dalvik-cache/system@framework@core.jar@classes.dex
10-29 11:35:20.739: I/DEBUG(111): 55be4d60 404131f8 /system/lib/libdvm.so
10-29 11:35:20.739: I/DEBUG(111): 55be4d64 00000018
10-29 11:35:20.749: I/DEBUG(111): 55be4d68 00730f4c [heap]
10-29 11:35:20.749: I/DEBUG(111): 55be4d6c 00000000
10-29 11:35:20.749: I/DEBUG(111): 55be4d70 4c330d20 /dev/ashmem/dalvik-LinearAlloc (deleted)
10-29 11:35:20.749: I/DEBUG(111): 55be4d74 51d7b3b8 /data/dalvik-cache/data@app@org.cocos2dx.vungle381-1.apk@classes.dex
10-29 11:35:20.749: I/DEBUG(111): 55be4d78 40942d2c
10-29 11:35:20.749: I/DEBUG(111): 55be4d7c 00730be0 [heap]
10-29 11:35:20.749: I/DEBUG(111): 55be4d80 00001072
10-29 11:35:20.749: I/DEBUG(111): 55be4d84 40383640 /system/lib/libdvm.so
10-29 11:35:20.749: I/DEBUG(111): … …
10-29 11:35:20.749: I/DEBUG(111): #01 55be4d98 55be4d9c [stack:4846]
10-29 11:35:20.749: I/DEBUG(111): 55be4d9c 40942d2c
10-29 11:35:20.749: I/DEBUG(111): 55be4da0 00000000
10-29 11:35:20.749: I/DEBUG(111): 55be4da4 00730be0 [heap]
10-29 11:35:20.749: I/DEBUG(111): 55be4da8 4040ec84 /system/lib/libdvm.so
10-29 11:35:20.749: I/DEBUG(111): 55be4dac 4c033d40 /dev/ashmem/dalvik-LinearAlloc (deleted)
10-29 11:35:20.749: I/DEBUG(111): 55be4db0 fffffe64
10-29 11:35:20.749: I/DEBUG(111): 55be4db4 55be4dd4 [stack:4846]
10-29 11:35:20.749: I/DEBUG(111): 55be4db8 55be4ea8 [stack:4846]
10-29 11:35:20.749: I/DEBUG(111): 55be4dbc 00000000
10-29 11:35:20.749: I/DEBUG(111): 55be4dc0 00000000
10-29 11:35:20.749: I/DEBUG(111): 55be4dc4 403904e8 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
10-29 11:35:20.749: I/DEBUG(111): 55be4dc8 00000000
10-29 11:35:20.749: I/DEBUG(111): 55be4dcc 00000000
10-29 11:35:20.749: I/DEBUG(111): 55be4dd0 00000000
10-29 11:35:20.749: I/DEBUG(111): 55be4dd4 00000000
10-29 11:35:20.749: I/DEBUG(111): memory near r0:
10-29 11:35:20.749: I/DEBUG(111): 411ae420 00760069 00740069 00200079 00790074
10-29 11:35:20.749: I/DEBUG(111): 411ae430 00650070 00200073 00000068 000000ab
10-29 11:35:20.749: I/DEBUG(111): 411ae440 40e961e8 00000000 41171298 00000000
10-29 11:35:20.749: I/DEBUG(111): 411ae450 00000000 00000000 51e5ff7c 00000000
10-29 11:35:20.749: I/DEBUG(111): 411ae460 00030001 50000bc0 4ff39000 00000007
10-29 11:35:20.749: I/DEBUG(111): 411ae470 00000000 0000000d 0000001c 00000000
10-29 11:35:20.749: I/DEBUG(111): 411ae480 00000000 00000000 411ab9f0 4112a5d8
10-29 11:35:20.749: I/DEBUG(111): 411ae490 00000000 00000000 00000003 4c330c80
10-29 11:35:20.749: I/DEBUG(111): 411ae4a0 00000001 4c330ca8 0000000a 4c330ce8
10-29 11:35:20.749: I/DEBUG(111): 411ae4b0 00000016 4c330ff0 00000004 4c331070
10-29 11:35:20.749: I/DEBUG(111): 411ae4c0 00000003 4c3310a0 00000001 00000001
10-29 11:35:20.749: I/DEBUG(111): 411ae4d0 4c330c90 c8000000 51ed224f 00000000
10-29 11:35:20.749: I/DEBUG(111): 411ae4e0 00000000 000000ab 40e97950 00000000
10-29 11:35:20.749: I/DEBUG(111): 411ae4f0 00000047 00000000 0050007b 00690072
10-29 11:35:20.749: I/DEBUG(111): 411ae500 0072006f 00740069 00520079 006e0075
10-29 11:35:20.749: I/DEBUG(111): 411ae510 0061006e 006c0062 003a0065 0020003a
10-29 11:35:20.749: I/DEBUG(111): memory near r3:
10-29 11:35:20.749: I/DEBUG(111): 51d7b394 0056edeb 00000003 126b001a 00000011
10-29 11:35:20.749: I/DEBUG(111): 51d7b3a4 00020003 00000001 0056edf0 00000007
10-29 11:35:20.749: I/DEBUG(111): 51d7b3b4 0666021f 2c771072 000a0002 0000000f
10-29 11:35:20.749: I/DEBUG(111): 51d7b3c4 00010002 00000001 0056edf6 00000005
10-29 11:35:20.749: I/DEBUG(111): 51d7b3d4 000d10fa 000c0001 00000011 00020002
10-29 11:35:20.749: I/DEBUG(111): 51d7b3e4 00000001 0056edfb 00000006 0666011f
10-29 11:35:20.749: I/DEBUG(111): 51d7b3f4 2c6f1072 000e0001 00020003 00000002
10-29 11:35:20.749: I/DEBUG(111): 51d7b404 0056ee01 00000009 0666021f 29ef0062
10-29 11:35:20.749: I/DEBUG(111): 51d7b414 71622072 000c0020 00000011 00010004
10-29 11:35:20.749: I/DEBUG(111): 51d7b424 00000002 0056ee07 0000001a 001830f4
10-29 11:35:20.749: I/DEBUG(111): 51d7b434 29ee0162 06600222 2c472070 20f80002
10-29 11:35:20.749: I/DEBUG(111): 51d7b444 0012000b 20f8000c 0030000f 20f8000c
10-29 11:35:20.749: I/DEBUG(111): 51d7b454 00300010 10f8000c 00000012 0011000c
10-29 11:35:20.749: I/DEBUG(111): 51d7b464 00020002 00000001 0056ee0c 00000006
10-29 11:35:20.749: I/DEBUG(111): 51d7b474 0666011f 2c701072 000e0001 00020002
10-29 11:35:20.749: I/DEBUG(111): 51d7b484 00000001 0056ee12 00000004 001110fa
10-29 11:35:20.749: I/DEBUG(111): memory near r4:
10-29 11:35:20.749: I/DEBUG(111): 40942d0c 51bdf126 00000000 00000001 40942d4c
10-29 11:35:20.749: I/DEBUG(111): 40942d1c 51d12d10 4c330d20 51d7b3b8 00000000
10-29 11:35:20.749: I/DEBUG(111): 40942d2c 4124da88 41171278 412061a0 40942d6c
10-29 11:35:20.769: I/DEBUG(111): 40942d3c 51d12e72 4c330010 51d12d10 00000000
10-29 11:35:20.779: I/DEBUG(111): 40942d4c 00000000 41171278 412061a0 40942d98
10-29 11:35:20.779: I/DEBUG(111): 40942d5c 51d130e0 4c330080 51d12e72 00000000
10-29 11:35:20.779: I/DEBUG(111): 40942d6c 412061a0 411556f8 4124da88 412061a0
10-29 11:35:20.779: I/DEBUG(111): 40942d7c 4d0ac638 41171278 40942dc8 51d7b3d4
10-29 11:35:20.779: I/DEBUG(111): 40942d8c 4c330130 51d130e0 00000000 412472e0
10-29 11:35:20.779: I/DEBUG(111): 40942d9c 4c06ecf8 4d0acc20 00000000 4112aa28
10-29 11:35:20.779: I/DEBUG(111): 40942dac 412471f0 41171278 40942de4 51d0ebfa
10-29 11:35:20.779: I/DEBUG(111): 40942dbc 4c330d58 51d7b3d4 00000000 00000000
10-29 11:35:20.779: I/DEBUG(111): 40942dcc 41171278 40942e18 51d129da 4c32fbd0
10-29 11:35:20.779: I/DEBUG(111): 40942ddc 51d0ebfa 00000000 00000000 00000001
10-29 11:35:20.779: I/DEBUG(111): 40942dec 41171278 51d11a4c 4c32f290 51d11870
10-29 11:35:20.779: I/DEBUG(111): 40942dfc 00000000 41171258 40942e3c 51d145ee
10-29 11:35:20.779: I/DEBUG(111): memory near r5:
10-29 11:35:20.779: I/DEBUG(111): 00730bc0 00000000 00000000 00000001 01030001
10-29 11:35:20.779: I/DEBUG(111): 00730bd0 00000000 00000000 00030210 00000453
10-29 11:35:20.779: I/DEBUG(111): 00730be0 4d0cf6c2 40942d2c 4c330d20 4ff39000
10-29 11:35:20.779: I/DEBUG(111): 00730bf0 00000000 68a49143 55be4da0 00000000
10-29 11:35:20.779: I/DEBUG(111): 00730c00 55be4dd4 00000015 00000000 40383640
10-29 11:35:20.779: I/DEBUG(111): 00730c10 00000000 00000000 4b70fd70 4093f300
10-29 11:35:20.779: I/DEBUG(111): 00730c20 00000000 00000000 00000001 00004000
10-29 11:35:20.779: I/DEBUG(111): 00730c30 00000000 0072f2b0 40383640 40388500
10-29 11:35:20.779: I/DEBUG(111): 00730c40 00000000 4038c5fc 4038c670 4038c520
10-29 11:35:20.779: I/DEBUG(111): 00730c50 4038c540 4038c59c 00000000 00000000
10-29 11:35:20.779: I/DEBUG(111): 00730c60 001b8510 00000028 00000000 00000000
10-29 11:35:20.779: I/DEBUG(111): 00730c70 00000000 00000006 00002000 4041391c
10-29 11:35:20.779: I/DEBUG(111): 00730c80 00000000 00000000 00000000 007997b0
10-29 11:35:20.779: I/DEBUG(111): 00730c90 00000001 00000040 00000200 00000000
10-29 11:35:20.779: I/DEBUG(111): 00730ca0 00000000 00000000 00000000 00000000
10-29 11:35:20.779: I/DEBUG(111): 00730cb0 00000000 00000000 00000000 30d5b5aa
10-29 11:35:20.779: I/DEBUG(111): memory near r7:
10-29 11:35:20.779: I/DEBUG(111): 4c330d00 00001162 51e04a70 51d7b39c 00000000
10-29 11:35:20.779: I/DEBUG(111): 4c330d10 00000000 00000000 5202dde4 00000000
10-29 11:35:20.779: I/DEBUG(111): 4c330d20 411ae440 00001014 0003000c 00020001
10-29 11:35:20.779: I/DEBUG(111): 4c330d30 51e8c621 0015a870 000026fa 51e827b0
10-29 11:35:20.779: I/DEBUG(111): 4c330d40 51d7b3b4 00000000 00000000 00000000
10-29 11:35:20.779: I/DEBUG(111): 4c330d50 5202ddec 00000000 411ae440 00001051
10-29 11:35:20.779: I/DEBUG(111): 4c330d60 0002000d 00010001 51e902c5 0015a870
10-29 11:35:20.779: I/DEBUG(111): 4c330d70 00000274 51e04a70 51d7b3d4 00000000
10-29 11:35:20.779: I/DEBUG(111): 4c330d80 00000000 00000000 5202ddf5 00000000
10-29 11:35:20.779: I/DEBUG(111): 4c330d90 411ae440 00001014 0002000e 00020001
10-29 11:35:20.799: I/DEBUG(111): 4c330da0 51e902c5 0015a870 00002389 51e805a3
10-29 11:35:20.799: I/DEBUG(111): 4c330db0 51d7b3f0 00000000 00000000 00000000
10-29 11:35:20.799: I/DEBUG(111): 4c330dc0 5202ddfd 00000000 411ae440 00001014
10-29 11:35:20.799: I/DEBUG(111): 4c330dd0 0003000f 00020002 51e90ef9 0015a870
10-29 11:35:20.799: I/DEBUG(111): 4c330de0 00000278 51e04ddc 51d7b40c 00000000
10-29 11:35:20.799: I/DEBUG(111): 4c330df0 00000000 00000000 5202de06 00000000
10-29 11:35:20.799: I/DEBUG(111): memory near r8:
10-29 11:35:20.799: I/DEBUG(111): 403f2f14 20746867 61636f6c 0a796c6c 3c000a00
10-29 11:35:20.799: I/DEBUG(111): 403f2f24 003e6425 7823253c 253c003e 3e646c6c
10-29 11:35:20.799: I/DEBUG(111): 403f2f34 61640000 6b69766c 45006d76 6c62616e
10-29 11:35:20.799: I/DEBUG(111): 403f2f44 20676e69 6f6c6c61 72742063 656b6361
10-29 11:35:20.799: I/DEBUG(111): 403f2f54 25282072 6e652064 65697274 25202c73
10-29 11:35:20.799: I/DEBUG(111): 403f2f64 72662064 73656d61 3e2d2d20 20642520
10-29 11:35:20.799: I/DEBUG(111): 403f2f74 65747962 61002973 636f6c6c 61727420
10-29 11:35:20.799: I/DEBUG(111): 403f2f84 72656b63 6f6e203a 72687420 00646165
10-29 11:35:20.799: I/DEBUG(111): 403f2f94 6c696146 61206465 636f6c6c 6e697461
10-29 11:35:20.799: I/DEBUG(111): 403f2fa4 6f702067 65746e69 65732072 63007374
10-29 11:35:20.799: I/DEBUG(111): 403f2fb4 7373616c 2f642520 202c6425 6874656d
10-29 11:35:20.799: I/DEBUG(111): 403f2fc4 2520646f 64252f64 6966202c 2520656c
10-29 11:35:20.799: I/DEBUG(111): 403f2fd4 64252f64 6e654700 74617265 41206465
10-29 11:35:20.799: I/DEBUG(111): 403f2fe4 73202c54 20657a69 25207369 252f647a
10-29 11:35:20.799: I/DEBUG(111): 403f2ff4 7300647a 20657a69 6d73696d 68637461
10-29 11:35:20.799: I/DEBUG(111): 403f3004 64252820 20737620 29647a25 61725400
10-29 11:35:20.799: I/DEBUG(111): memory near r9:
10-29 11:35:20.799: I/DEBUG(111): 403f2f14 20746867 61636f6c 0a796c6c 3c000a00
10-29 11:35:20.799: I/DEBUG(111): 403f2f24 003e6425 7823253c 253c003e 3e646c6c
10-29 11:35:20.799: I/DEBUG(111): 403f2f34 61640000 6b69766c 45006d76 6c62616e
10-29 11:35:20.799: I/DEBUG(111): 403f2f44 20676e69 6f6c6c61 72742063 656b6361
10-29 11:35:20.799: I/DEBUG(111): 403f2f54 25282072 6e652064 65697274 25202c73
10-29 11:35:20.799: I/DEBUG(111): 403f2f64 72662064 73656d61 3e2d2d20 20642520
10-29 11:35:20.799: I/DEBUG(111): 403f2f74 65747962 61002973 636f6c6c 61727420
10-29 11:35:20.799: I/DEBUG(111): 403f2f84 72656b63 6f6e203a 72687420 00646165
10-29 11:35:20.799: I/DEBUG(111): 403f2f94 6c696146 61206465 636f6c6c 6e697461
10-29 11:35:20.799: I/DEBUG(111): 403f2fa4 6f702067 65746e69 65732072 63007374
10-29 11:35:20.799: I/DEBUG(111): 403f2fb4 7373616c 2f642520 202c6425 6874656d
10-29 11:35:20.809: I/DEBUG(111): 403f2fc4 2520646f 64252f64 6966202c 2520656c
10-29 11:35:20.809: I/DEBUG(111): 403f2fd4 64252f64 6e654700 74617265 41206465
10-29 11:35:20.809: I/DEBUG(111): 403f2fe4 73202c54 20657a69 25207369 252f647a
10-29 11:35:20.809: I/DEBUG(111): 403f2ff4 7300647a 20657a69 6d73696d 68637461
10-29 11:35:20.809: I/DEBUG(111): 403f3004 64252820 20737620 29647a25 61725400
10-29 11:35:20.809: I/DEBUG(111): memory near sl:
10-29 11:35:20.809: I/DEBUG(111): 403f4764 206e776f 6c696877 72702065 69746e69
10-29 11:35:20.809: I/DEBUG(111): 403f4774 7320676e 6b636174 61727420 203a6563
10-29 11:35:20.809: I/DEBUG(111): 403f4784 28007325 656e6f6e 6f430029 20646c75
10-29 11:35:20.809: I/DEBUG(111): 403f4794 20746f6e 6f736572 2065766c 73616c63
10-29 11:35:20.819: I/DEBUG(111): 403f47a4 65722073 64652766 206e6920 65637865
10-29 11:35:20.819: I/DEBUG(111): 403f47b4 6f697470 6163206e 20686374 7473696c
10-29 11:35:20.819: I/DEBUG(111): 403f47c4 6c632820 20737361 65646e69 64252078
10-29 11:35:20.819: I/DEBUG(111): 403f47d4 7865202c 74706563 206e6f69 00297325
10-29 11:35:20.819: I/DEBUG(111): 403f47e4 20746109 252e7325 614e2873 65766974
10-29 11:35:20.819: I/DEBUG(111): 403f47f4 74654d20 29646f68 74610900 2e732520
10-29 11:35:20.819: I/DEBUG(111): 403f4804 25287325 64253a73 72740029 20646569
10-29 11:35:20.819: I/DEBUG(111): 403f4814 6c206f74 6120676f 6c756e20 7865206c
10-29 11:35:20.819: I/DEBUG(111): 403f4824 74706563 3f6e6f69 74656700 7373654d
10-29 11:35:20.819: I/DEBUG(111): 403f4834 00656761 6a4c2928 2f617661 676e616c
10-29 11:35:20.819: I/DEBUG(111): 403f4844 7274532f 3b676e69 52415700 474e494e
10-29 11:35:20.819: I/DEBUG(111): 403f4854 6f63203a 20646c75 20746f6e 646e6966
10-29 11:35:20.819: I/DEBUG(111): memory near ip:
10-29 11:35:20.819: I/DEBUG(111): 55be4d7c 00730be0 00001072 40383640 00000000
10-29 11:35:20.819: I/DEBUG(111): 55be4d8c 412060f8 00000000 4038ca24 55be4d9c
10-29 11:35:20.819: I/DEBUG(111): 55be4d9c 40942d2c 00000000 00730be0 4040ec84
10-29 11:35:20.819: I/DEBUG(111): 55be4dac 4c033d40 fffffe64 55be4dd4 55be4ea8
10-29 11:35:20.819: I/DEBUG(111): 55be4dbc 00000000 00000000 403904e8 00000000
10-29 11:35:20.819: I/DEBUG(111): 55be4dcc 00000000 00000000 00000000 40942fe4
10-29 11:35:20.819: I/DEBUG(111): 55be4ddc 00000000 00000000 00000000 00000000
10-29 11:35:20.819: I/DEBUG(111): 55be4dec 00000000 00000000 00000000 00000000
10-29 11:35:20.819: I/DEBUG(111): 55be4dfc 00000000 00000000 00000000 00000000
10-29 11:35:20.819: I/DEBUG(111): 55be4e0c 00000000 00000000 00000000 00000000
10-29 11:35:20.819: I/DEBUG(111): 55be4e1c 00000000 00000000 00000000 00000000
10-29 11:35:20.819: I/DEBUG(111): 55be4e2c 00000000 00000000 00000000 00730be0
10-29 11:35:20.819: I/DEBUG(111): 55be4e3c 4c033d40 55be4ea8 412357c8 40942fec
10-29 11:35:20.819: I/DEBUG(111): 55be4e4c 4d250f0c 55be4ea8 403c4471 00730be0
10-29 11:35:20.819: I/DEBUG(111): 55be4e5c 4c033d40 412357c8 55be4ea8 00730be0
10-29 11:35:20.819: I/DEBUG(111): 55be4e6c 404131f8 40413500 40413504 00730be0
10-29 11:35:20.819: I/DEBUG(111): memory near sp:
10-29 11:35:20.819: I/DEBUG(111): 55be4d28 00000018 00000018 00000001 40383640
10-29 11:35:20.819: I/DEBUG(111): 55be4d38 00000001 40288874 e3a070ad ef9000ad
10-29 11:35:20.819: I/DEBUG(111): 55be4d48 00010c28 40415100 4124da88 00000000
10-29 11:35:20.819: I/DEBUG(111): 55be4d58 4028840c 4d0c78f8 404131f8 00000018
10-29 11:35:20.819: I/DEBUG(111): 55be4d68 00730f4c 00000000 4c330d20 51d7b3b8
10-29 11:35:20.819: I/DEBUG(111): 55be4d78 40942d2c 00730be0 00001072 40383640
10-29 11:35:20.819: I/DEBUG(111): 55be4d88 00000000 412060f8 00000000 4038ca24
10-29 11:35:20.819: I/DEBUG(111): 55be4d98 55be4d9c 40942d2c 00000000 00730be0
10-29 11:35:20.819: I/DEBUG(111): 55be4da8 4040ec84 4c033d40 fffffe64 55be4dd4
10-29 11:35:20.839: I/DEBUG(111): 55be4db8 55be4ea8 00000000 00000000 403904e8
10-29 11:35:20.839: I/DEBUG(111): 55be4dc8 00000000 00000000 00000000 00000000
10-29 11:35:20.839: I/DEBUG(111): 55be4dd8 40942fe4 00000000 00000000 00000000
10-29 11:35:20.839: I/DEBUG(111): 55be4de8 00000000 00000000 00000000 00000000
10-29 11:35:20.839: I/DEBUG(111): 55be4df8 00000000 00000000 00000000 00000000
10-29 11:35:20.839: I/DEBUG(111): 55be4e08 00000000 00000000 00000000 00000000
10-29 11:35:20.839: I/DEBUG(111): 55be4e18 00000000 00000000 00000000 00000000
10-29 11:35:20.839: I/DEBUG(111): code around pc:
10-29 11:35:20.839: I/DEBUG(111): 403a8ffc 6844469b 460a44fa f85446c1 9e037c0c
10-29 11:35:20.839: I/DEBUG(111): 403a900c 6838687b 6fa0f413 f04fbf14 6a3b0800
10-29 11:35:20.839: I/DEBUG(111): 403a901c bf086831 0810f1a3 f8b86a86 91020006
10-29 11:35:20.839: I/DEBUG(111): 403a902c f8d8b1f0 2801300c 0308f103 eb08d10f
10-29 11:35:20.839: I/DEBUG(111): 403a903c 07990343 3302bf18 428a6819 8898d310
10-29 11:35:20.839: I/DEBUG(111): 403a904c 0c01eb00 bf384562 d31188d8 eb08e008
10-29 11:35:20.839: I/DEBUG(111): 403a905c 078b0143 3102bf18 fc1af03f da072800
10-29 11:35:20.839: I/DEBUG(111): 403a906c 92052200 2018f88d 92089207 e0d39209
10-29 11:35:20.839: I/DEBUG(111): 403a907c 200cf8d8 eb083208 07990342 1006f8b8
10-29 11:35:20.839: I/DEBUG(111): 403a908c 3302bf18 08c1eb03 0300eb08 1000f818
10-29 11:35:20.839: I/DEBUG(111): 403a909c dc03297f f3411c5a e02a0106 c001f893
10-29 11:35:20.839: I/DEBUG(111): 403a90ac 087ff001 007ff00c 0f7ff1bc 11c0ea48
10-29 11:35:20.839: I/DEBUG(111): 403a90bc 1c9adc03 010df341 789ae01b 0c7ff002
10-29 11:35:20.839: I/DEBUG(111): 403a90cc ea412a7f dc03318c f3411cda e0100114
10-29 11:35:20.839: I/DEBUG(111): 403a90dc 8003f893 007ff008 0f7ff1b8 5140ea41
10-29 11:35:20.839: I/DEBUG(111): 403a90ec 1d1adc03 011bf341 1d5ae003 ea41791b
10-29 11:35:20.839: I/DEBUG(111): code around lr:
10-29 11:35:20.839: I/DEBUG(111): 4038ca04 e52dc004 e5961008 e1a00006 e5911020
10-29 11:35:20.839: I/DEBUG(111): 4038ca14 e1a02009 e0441001 e1a010c1 fa007170
10-29 11:35:20.839: I/DEBUG(111): 4038ca24 e5d61050 e3510000 0a000004 e1a05000
10-29 11:35:20.839: I/DEBUG(111): 4038ca34 e1a00006 e1a01009 fa00de98 e1a00005
10-29 11:35:20.839: I/DEBUG(111): 4038ca44 e59d5004 e3500000 e28dd008 4a000016
10-29 11:35:20.839: I/DEBUG(111): 4038ca54 e2451014 e5911008 e5861008 e5912000
10-29 11:35:20.859: I/DEBUG(111): 4038ca64 e5913020 e5922028 e0834080 e586200c
10-29 11:35:20.859: I/DEBUG(111): 4038ca74 e1a00009 e1a01006 fa00b2fe e596802c
10-29 11:35:20.859: I/DEBUG(111): 4038ca84 e1d470b0 e207c0ff e35c000d 05869044
10-29 11:35:20.859: I/DEBUG(111): 4038ca94 e088f30c e5864000 e5865004 e1a00006
10-29 11:35:20.859: I/DEBUG(111): 4038caa4 e1a01009 eb000b24 eaffffd1 e5d61050
10-29 11:35:20.859: I/DEBUG(111): 4038cab4 e3510000 11a00006 11a01009 1b018490
10-29 11:35:20.859: I/DEBUG(111): 4038cac4 e5869044 e1a00009 e1a01006 fa00b2e9
10-29 11:35:20.859: I/DEBUG(111): 4038cad4 eaffff13 000666f5 000664a3 e1d632b8
10-29 11:35:20.859: I/DEBUG(111): 4038cae4 e2133901 012fff1e e59a1000 e3510000
10-29 11:35:20.859: I/DEBUG(111): 4038caf4 112fff1e e92d4007 e1a00006 e1a01004
10-29 11:35:21.529: I/ActivityManager(428): Process org.cocos2dx.vungle381 (pid 4704) has died.
10-29 11:35:21.529: I/WindowState(428): WIN DEATH: Window{41806a30 u0 org.cocos2dx.vungle381/org.cocos2dx.javascript.AppActivity}
10-29 11:35:21.549: W/ActivityManager(428): Force removing ActivityRecord{4116cf90 u0 org.cocos2dx.vungle381/org.cocos2dx.javascript.AppActivity}: app died, no saved state
10-29 11:35:21.549: W/WindowManager(428): Force-removing child win Window{417844a0 u0 SurfaceView} from container Window{41806a30 u0 org.cocos2dx.vungle381/org.cocos2dx.javascript.AppActivity}
10-29 11:35:21.579: D/Zygote(114): Process 4704 terminated by signal (11)
10-29 11:35:21.599: W/WindowManager(428): Failed looking up window
10-29 11:35:21.599: W/WindowManager(428): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@4176b860 does not exist
10-29 11:35:21.599: W/WindowManager(428): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8174)
10-29 11:35:21.599: W/WindowManager(428): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8165)
10-29 11:35:21.599: W/WindowManager(428): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:932)
10-29 11:35:21.599: W/WindowManager(428): at android.os.BinderProxy.sendDeathNotice(Binder.java:433)
10-29 11:35:21.599: W/WindowManager(428): at dalvik.system.NativeStart.run(Native Method)
10-29 11:35:21.599: I/WindowState(428): WIN DEATH: null
10-29 11:35:21.939: I/Adreno200-EGL(2488): <qeglDrvAPI_eglInitialize:299>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_REL_2.0.3.1_RB1.04.01.01.45.000_msm8625_JB_REL_2.0.3.1_Merge_release_AU (Merge)
10-29 11:35:21.939: I/Adreno200-EGL(2488): Build Date: 01/11/13 Fri
10-29 11:35:21.939: I/Adreno200-EGL(2488): Local Branch:
10-29 11:35:21.939: I/Adreno200-EGL(2488): Remote Branch: m/jb_rel_2.0.3.1
10-29 11:35:21.939: I/Adreno200-EGL(2488): Local Patches: NONE
10-29 11:35:21.939: I/Adreno200-EGL(2488): Reconstruct Branch: NOTHING
10-29 11:35:22.239: W/InputMethodManagerService(428): Got RemoteException sending setActive(false) notification to pid 4704 uid 10064

@patriciog What if you clone that sample repo and just run that, the way it is. Does this work? Meaning, no need for cocos new and then copying files around from the sample to the new project.

Thanks @slackmoehrle. Yes, I tried all previous updates of the repo and the problem is the same. I reported you several times by e-mail and Trello.

Your solution always is: clone repo and try. Today I’ve updated Vungle sample and it is outdated:

  • master branch: js/frameworks/runtime-src/proj.android/jni/sdkbox is not updated. setProjectType is not defined here.
  • 1.4 branch: NDK compilation error.

Here is the apk of my example: https://app.box.com/s/8qua4y4281ufyibeeu3xpse6aquaiq78

Does somebody try it on Android 4.2.2? Thanks in advance!

@patriciog Thank you for trying it. I don’t know. I think my Android device is using 6. Perhaps others are using lesser versions. I am going to create a GitHub issue for this so that we can look at this specifically. We did extensive testing these last few days before we released 1.4.

Hi guys:

I found a workaround for SDKBox Vungle that works in Android < 5.x.

Crash case:

  • project.properties: Reference to google-play-services_lib/
  • AndroidManifest.xml: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
  • vungle-publisher-adaptive-id-3.3.2.jar

Workaround:

  • project.properties: Comment reference to google-play-services_lib/
  • AndroidManifest.xml: Comment <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
  • Change vungle-publisher-adaptive-id-3.3.2.jar by vungle-publisher-adaptive-id-3.3.1.jar
  • It is important too:

Now I’m going use Vungle in my game and if it is not available then I’m going to call AdColony. However AdColony status always is 2 (loading)…

Not sure if the OP fixed the problem. I had a similar issue. I fixed by changing minSdkVersion from 14 to 9. I set it to 14 for some reason that I cannot recall. After changing it to 9, Vungle works fine. Setting it to 16 doesn’t work either. Really weird issue, probably a bug by Vungle.