ANDROID APP CRASHED AFTER ADDING GOOGLE ADMOB SDK AND BUILT IT

95 views
Skip to first unread message

Jerónimo Trigueros Vera

unread,
Aug 15, 2023, 2:46:27 PM8/15/23
to Google Mobile Ads SDK Developers
Hello,

I´m using AdMob for some interstitial ads and it is working as expected on the Unity editor. However after built the app  is not opening on my mobile and I got a popup that says the application is not correct. After removing the sdk it opens and run correctly.

My Unity version is 2020.3.2f1 and GoogleMobile Ads sdk 8.5.1. I´m also following steps from official unity documentation (project HelloWorld):

Is it possible that google admob is corrupted or something? I need a help desperately as I have to put the game on production on September and I don´t know if ads will be working.

Thanks and regards,
Jerónimo.

Mobile Ads SDK Forum Advisor

unread,
Aug 15, 2023, 3:48:32 PM8/15/23
to jeronimo....@gmail.com, google-adm...@googlegroups.com

Hi Jerónimo,

Thank you for reaching out to us.

Before we can provide more information on this behavior of crashes, can you provide us the following information below so we can further check in our end?

  • Sample app project where the behavior is reproducible
  • Steps to replicate
  • Screen recording of the behavior
  • Full stack trace of the crashes
  • SDK version
  • Device name and versions affected
  • App ID

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002nsj60QAA&entry.80707362=00193522

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link. 

This message is in relation to case "ref:_00D1U1174p._5004Q2nsj60:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Jerónimo Trigueros Vera

unread,
Aug 16, 2023, 6:48:45 PM8/16/23
to Mobile Ads SDK Forum Advisor, google-adm...@googlegroups.com
Hello,
Thanks for your help but I realized that app id was wrong set up in my Unity project. I copied this when I created ad units and I don't know why today I checked under settings (google ad mob web) and it wasn't match the original I copied.

Now the app is opening alright. I didn't expect that a wrong configuration on google admob would prevent the app from opening.

Regards.

Mobile Ads SDK Forum Advisor

unread,
Aug 17, 2023, 4:15:20 AM8/17/23
to jeronimo....@gmail.com, google-adm...@googlegroups.com
Hello Jerónimo,

Thank you for updating us. Glad that the issue was resolved on your end. Configurations are as important as it may affect to the build of the app. Should you encounter any SDK issues in the future, do not hesitate to come back to us and we will be glad to assist you.
Reply all
Reply to author
Forward
0 new messages