Shin-NiL / Godot-Android-Admob-Plugin

Android AdMob plugin for Godot Game Engine 3.2 or higher
MIT License
549 stars 67 forks source link

game crashs in android when export with enable Godot Ad Mob #71

Closed Mohammed-Anwar closed 4 years ago

Mohammed-Anwar commented 4 years ago

Godot version:

AdMob Plugin version:

Issue description: first sorry for any bad English so i just make a demo project to test the plugin and how it works I follow the steps in this page then when i export the game using one click display the game installed but it's crash whine opening it it test a lot of things but the only thing that I am sure about is when I enable the "Godot Ad Mob" in android export UI the game gets the crash issue but if i disable it the game works fine but also without any ADs

I'm using Godot 3.2.2

Shin-NiL commented 4 years ago

Did you edit the AndroidManifest.xml adding the App ID? You can see how it should be for the demo here.

When the app crashes you can get some useful information using Android logcat.

Mohammed-Anwar commented 4 years ago

yap know after some debug I discovered that i changed the android:name to my ad app name :/ after reuse yours the game works fine without any problem thx and sorry for wasting your time :)