Admob crash in android

Hi there~
I downloaded and run extension-admob to use Admob’s reward ads. The next picture shows you after running the app.

I selected Rewarded Video from the radio button, clicked Load Ad, confirmed info.message popped MESSAGE_LOADED, then pressed Show Ad.
However, I watched the rewarded video till the end, and the app was forced to quit and then run again.

I/defold  (24909): INFO:CRASH: Successfully wrote Crashdump to file: /data/data/com.defold.adtest/files/_crash

Could you explain to me what the problem is?

**p.s: I tested with GALAXY ALPHA, GALAXY S3, GALAXY S8 and huawei Y6.

1 Like

Will not it work if the Android version is different?

  • Samsung GALAXY S3 (SHV-E210L), Android Version 4.4.4 : It works well.
  • Samsung GALAXY ALPHA(SM-G850K), Android Version 5.0.2 : DOESN’T WORK
  • huawai Y6(HW-SCL-L32), Android Version 5.1.1 : DOESN’T WORK
  • Asus ZENFONE 2(ASUS_Z00AD), Android Version 5.0 : DOESN’T WORK
  • Samsung GALAXY S8(SM-G950N), Android Version 7.0 : DOESN’T WORK

Interesting, it might be a clue. Will try this too.

1 Like

I am testing the admob-extension in my project.

After adding

<uses-permission android: name = "android.permission.READ_EXTERNAL_STORAGE" />

in AndroidManifest.xml, rewarded_video works well!

However, on Android 4.4 or lower test phones, the rewarded_video still crashes and the app is terminated.

2 Likes

Have you looked into using Enhance to implement this extension? It may take the guesswork away a little when you remove potential code issues.

Follow this link for more info : https://goo.gl/BzjWJH

3 Likes

Yes, I agree with this. I’d really try to use FGL Enhance instead. It’s a very tiny overhead and it’s super easy to integrate.

3 Likes

Switched up my account, if you still have any issues, you can hit me up on this account.
Good luck.

Enhance : https://goo.gl/BzjWJH

4 Likes