Game crashes on Android when using AdMob (Solved)

Kiwou

  • Posts: 5
Hello. I try to use this extension, but my game crashes all the time. Can you tell me where I make a mistake?

Scene 0 (Logo) - When created; [Do only on Android (Initilize AdMob fullscreen ad...) (Load AdMob fullscreen ad)]
Scene 1 (Menu) - Always; [Do only on Android (Show AdMob smart banner ad...)]
Scene 2 (Stage) - When created; [Do only on Android (Hide AdMob banner ad)]
Scene 3 (Game over) - When created; [Do only on Android (Show AdMob fullscreen ad) (Show AdMob smart banner ad...)]

I want a "fullscreen ad" on the Scene 3 and a "banner ad" for all scenes except for the Scene 2 (the player should not be embarrassed).

Thank you for your help.

« Last Edit: June 30, 2014, 12:56:02 pm by Abliblablobla »

Abliblablobla

  • *
  • Posts: 524
When does you game crash? Which device(s) are you using to test your game(s)?

You shouldn't use the "show AdMob banner" block in an "always" event. If you want to show a smart banner ad in your Scene 1 (Menu), you can put the "show AdMob banner" in a "when created" event.
.: BuruBuru :.

Kiwou

  • Posts: 5
Good news, your advice seems to have solved the problem. The crash was between the loading of scene 0 to scene 1.

Thank you.

Abliblablobla

  • *
  • Posts: 524
You're welcome!
.: BuruBuru :.