MY APP CRASHES WHEN I ADD ADS(ADMOB)

995 views
Skip to first unread message

Churchil Show

unread,
May 24, 2019, 1:51:14 PM5/24/19
to Google Mobile Ads SDK Developers
Hello,i have developed an android application and i decided to place ads on it to get extra money, but when i add the ads on my application the app crashes on debug ,it displ;ays the message that the app has stopped,what might be the problem.Please email me fedinar...@gmail.com
I am using android studio 3.4.0 gradle 5.1.1 admob depedency 17.2.0
What is the best method to place ads to avoid apps from crashing?

Mobile Ads SDK Forum Advisor Prod

unread,
May 24, 2019, 4:21:33 PM5/24/19
to fedinar...@gmail.com, google-adm...@googlegroups.com
Hello there,

Thanks for reaching out to us. Can you please go through our guides and sample apps and check if you are missing something with your implementation? If you still have an issue, please share your sample app with your implementation for us to take a look.You can use "Reply Privately to Author" option to share the details privately.

Regards,
Deepika Uragayala
Mobile Ads SDK Team



ref:_00D1U1174p._5001UAqXzW:ref

Mobile Ads SDK Forum Advisor Prod

unread,
May 27, 2019, 9:55:18 PM5/27/19
to fedinar...@gmail.com, google-adm...@googlegroups.com

Hi there,

Deepika is currently Out of Office today. My name is Mark and I'm here to assist you on this.

I'm sorry to hear that you're having troubles attaching your app thru this communication channel. Could you upload your project in Google Drive instead and provide us with the shareable link using Reply privately to author option?

Thanks,
Mark Albios
Mobile Ads SDK Team



ref:_00D1U1174p._5001UAqXzW:ref

Mobile Ads SDK Forum Advisor Prod

unread,
May 29, 2019, 9:57:55 PM5/29/19
to fedinar...@gmail.com, google-adm...@googlegroups.com

Hi there,

Thank you for providing me with the Google Drive link. However, I'm afraid that I don't have the permission to access the file. Could you provide me with the Shareable link (see attached screenshot for your reference) using Reply privately to author option?

Regards,


Mark Albios
Mobile Ads SDK Team



ref:_00D1U1174p._5001UAqXzW:ref
shareable link.png

Mobile Ads SDK Forum Advisor Prod

unread,
May 30, 2019, 6:33:49 AM5/30/19
to fedinar...@gmail.com, google-adm...@googlegroups.com

Hi there,

Thank you for providing me with your project file. I have checked your project file, however it seems that you haven't implemented the AdMob SDK.

In your previous discussion with Deepika, you have stated that you encountered an issue when implementing the SDK. Deepika provided you with the Guides and Sample apps to help you through with the implementation.

That said, could you implement the AdMob SDK to your project file. If you encounter an implementation issue, you may share with me the project file privately (using Reply privately to author option). I'll be happy to assist you.



Regards,
Mark Albios
Mobile Ads SDK Team



ref:_00D1U1174p._5001UAqXzW:ref

Mobile Ads SDK Forum Advisor Prod

unread,
May 30, 2019, 9:20:17 PM5/30/19
to fedinar...@gmail.com, google-adm...@googlegroups.com

Hi there,

Thank you for providing me with your project file. As per checking, I noticed that on your project's manifest, you have incorrectly initialized the Google Mobile Ads SDK's meta-data. The android:name shouldn't be changed and must have a value of "com.google.android.gms.ads.APPLICATION_ID" as per documentation. You only need to change "YOUR_ADMOB_APP_ID".

<meta-data
            android:name="com.google.android.gms.ads.APPLICATION_ID"
            android:value="YOUR_ADMOB_APP_ID"/>

I have updated my downloaded copy and I no longer encounter the crash. Could you update your project's manifest on your end? 

Please let me know if you still encounter the issue. I'll be happy to assist you.



Regards,
Mark Albios
Mobile Ads SDK Team
 



ref:_00D1U1174p._5001UAqXzW:ref
Reply all
Reply to author
Forward
0 new messages