Godot-Android-Admob-Plugin icon indicating copy to clipboard operation
Godot-Android-Admob-Plugin copied to clipboard

Crashing on start, no error, fixed only by removing plugin from project.

Open ghost opened this issue 4 years ago • 8 comments

Godot version: Godot_v3.3-stable_x11.64

AdMob Plugin version: 5.0.0

Issue description: Expected to have a working project with test adds showing, but project refuses to start, removing the plugin instantly fixes the problem. Test ads also don't show weather in the editor or on export, does not matter what kind of ad either.

ghost avatar Jun 01 '21 02:06 ghost

Same problem , Godot V3.3 Admob Plugin 5.0.0

playlaika avatar Jun 01 '21 17:06 playlaika

already found a solution?

fabiosilvdev avatar Jun 24 '21 02:06 fabiosilvdev

I also have this problem... : (

MMdev11 avatar Jul 08 '21 00:07 MMdev11

The fix is to write your admob informations to the plugins android manifest file. https://developers.google.com/admob/android/quick-start

-> Configure your app / 3

bencepozsi avatar Jul 20 '21 10:07 bencepozsi

The fix is to write your admob informations to the plugins android manifest file. https://developers.google.com/admob/android/quick-start

-> Configure your app / 3

Thanks for your answer! but in my case the manifest is well written. android: name and android: value are ok. I think the problem is not the manifest. thank you anyway

playlaika avatar Jul 20 '21 11:07 playlaika

Did anyone figure this out? @playlaika @MMdev11 @Roxy222 I'm dealing with the same issue, spent days trying to figure it out. I've tried several versions of Godot and the plugin, always the same crash on start. No errors, nothing in adb logcat.

goatfacekilla avatar Feb 01 '22 16:02 goatfacekilla

After banging my head against the wall for days, I finally figured out what I was doing wrong. As others have said, it WAS the manifest. I was copying the AD UNIT ID into the manifest rather than tha APP ID. There should be a "~" in the app id, not a "/" - if there's a "/" in the number you pasted into your manifest, you probably copied over the wrong thing. I hope this helps others! So relieved!!

goatfacekilla avatar Feb 01 '22 18:02 goatfacekilla

After banging my head against the wall for days, I finally figured out what I was doing wrong. As others have said, it WAS the manifest. I was copying the AD UNIT ID into the manifest rather than tha APP ID. There should be a "~" in the app id, not a "/" - if there's a "/" in the number you pasted into your manifest, you probably copied over the wrong thing. I hope this helps others! So relieved!!

Haha , I guess you was before I scrolling to this comment, since I made the same mistake when I use Admob on Unity, crash crash crash, I was confused... 😂

FlashTang avatar Apr 30 '22 15:04 FlashTang