Hi Muhammet,
Thank you for reaching out to us. Kindly note that we can only respond in English, so feel free to correct me if I misunderstand anything.
My understanding of your concern is: your Unity game constantly crashes on Android after including AdMob. Is this correct?
If so, then could you kindly provide the details below (via Reply privately to author) so that I can investigate the issue?
You may also double-check if you've properly set up your AdMob app ID within the Unity AdMob SDK (since, if I understood correctly, you are using the Unity plugin of the AdMob SDK). The game would otherwise always crash on startup if this was not set up properly.
Regards,
Ziv Yves Sanchez
Mobile Ads SDK Team
Admob Id ayarlarını yaptım sorun yok buda sdk jdk ayarları
This product only officially offers support in English. It would be best to reply in English if you can. If not, we will try to use Google Translate to support you as best as we can. A translation of what you wrote is - "I did the Admob Id settings no problem buda sdk jdk settings". My impression is you are concerned that using the Android default locations for the JDK and SDK will cause problems with the Mobile Ads SDK. If I guessed correctly what your concern is, then the answer is that you can ignore the warning that Unity shows when not using their preferred locations for SDK and JDK if Android Studio has them.
To prove this, I created a Unity project on my mac using Unity version 2019.3.15f. I used the unitypackage for our SDK version 5.2.0(our latest and recommended one). I set the default Android Studio locations for the SDK and the JDK as shown in the screenshot. I then followed the guides for Unity to create a banner as described in the quick start here - https://developers.google.com/admob/unity/quick-start and for the banner implementation here - https://developers.google.com/admob/unity/banner. I compiled and ran it and a banner showed on my Xiaomi Mi A2 device. Are you still experiencing difficulties with using AdMob in your app? If so, could you describe what's happening?