Crash Callback REWARDED VIDEO


#1

Hello ,
I’m working with extension-admob, My problem is my game crash when video Rewarded is finished on android.
I dont know what to do. Can you guys please help me?

10-08 11:47:36.116 19991-19991/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-08 11:47:36.117 19991-19991/? A/DEBUG: Build fingerprint: 'samsung/zerofltexx/zeroflte:7.0/NRD90M/G920FXXU5EQHD:user/release-keys’
10-08 11:47:36.117 19991-19991/? A/DEBUG: Revision: '11’
10-08 11:47:36.117 19991-19991/? A/DEBUG: ABI: 'arm’
10-08 11:47:36.117 19991-19991/? A/DEBUG: pid: 19783, tid: 19783, name: old.bipex.laser >>> com.defold.bipex.laser <<<
10-08 11:47:36.117 19991-19991/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x696f630a
10-08 11:47:36.117 19991-19991/? A/DEBUG: r0 696f630a r1 696f630a r2 41200000 r3 00000006
10-08 11:47:36.117 19991-19991/? A/DEBUG: r4 ffffffff r5 00000002 r6 e1b27540 r7 c4c34a40
10-08 11:47:36.117 19991-19991/? A/DEBUG: r8 e1b2756c r9 ffedb370 sl cc8d0cbc fp 13291dc0
10-08 11:47:36.117 19991-19991/? A/DEBUG: ip 00000002 sp ffedb248 lr ec065015 pc ec02dbec cpsr 200e0030
10-08 11:47:36.131 19991-19991/? A/DEBUG: backtrace:
10-08 11:47:36.132 3022-3022/? E/audit: type=1400 audit(1507459656.121:7091): avc: denied { search } for pid=19991 comm=“debuggerd” name=“com.defold.bipex.laser” dev=“sda18” ino=65803 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0009
10-08 11:47:36.136 19991-19991/? A/DEBUG: #00 pc 00018bec /system/lib/libc.so (strlen+35)
10-08 11:47:36.137 19991-19991/? A/DEBUG: #01 pc 00050011 /system/lib/libc.so (__strlen_chk+4)
10-08 11:47:36.137 19991-19991/? A/DEBUG: #02 pc 00046629 /system/lib/libc.so (strdup+8)
10-08 11:47:36.137 19991-19991/? A/DEBUG: #03 pc 000b2f18 /data/app/com.defold.bipex.laser-1/lib/arm/liblaser_game.so (_ZN14AdMobExtension18QueueRewardCommandEiifPKc+64)
10-08 11:47:36.137 19991-19991/? A/DEBUG: #04 pc 000b5cfc /data/app/com.defold.bipex.laser-1/lib/arm/liblaser_game.so (_ZN14AdMobExtension21RewardedVideoListener10OnRewardedEN8firebase5admob14rewarded_video10RewardItemE+64)
10-08 11:47:36.137 19991-19991/? A/DEBUG: #05 pc 000c10d9 /data/app/com.defold.bipex.laser-1/lib/arm/liblaser_game.so (_ZN8firebase5admob14rewarded_video8internal21RewardedVideoInternal22NotifyListenerOfRewardENS1_10RewardItemE+136)
10-08 11:47:36.137 19991-19991/? A/DEBUG: #06 pc 000be033 /data/app/com.defold.bipex.laser-1/lib/arm/liblaser_game.so (Java_com_google_firebase_admob_internal_cpp_RewardedVideoHelper_grantReward+326)
10-08 11:47:36.137 19991-19991/? A/DEBUG: #07 pc 00001931 /data/data/com.defold.bipex.laser/code_cache/admob_resources_lib.dex (offset 0xd000)
10-08 11:47:37.538 14634-19992/? W/ActivityManager: Force finishing activity com.defold.bipex.laser/com.google.android.gms.ads.AdActivity
10-08 11:47:37.538 14634-19992/? W/MultiScreenManagerService: moveTaskBackToDisplayIfNeeded(): The task has more than one activity
10-08 11:47:37.545 14634-19992/? W/ActivityManager: Force finishing activity com.defold.bipex.laser/com.dynamo.android.DefoldActivity
10-08 11:47:37.545 14634-19992/? W/MultiScreenManagerService: moveTaskBackToDisplayIfNeeded(): root is not base activity
10-08 11:47:37.548 14634-19992/? W/MultiScreenManagerService: moveTaskBackToDisplayIfNeeded(): root activity or app is null

Please Help me.


#2

Hmm, it’s tricky to know what is causing this. The admob extension should be considered an example. An alternative for you, if you’re not able to solve the crash yourself, is to use FGL Enhance to add Admob support to your game.


#3

Thanks for response, I have same probleme with admob-example .
I Think the probleme is compatibility extension with my device or version of OS.


#4

But does it work if you switch to FGL as I suggested?


#5

I will switch to FGL


#6

hey @app.tchafar can you post how you were able to use admob extension on your project? i followed the instruction on their github page but i cant build. thanks.


#7

Hey Secondrnd,
Can you Build admob-example project ?
For information this extention work for android and ios not for simulator.