shader2199
shader2199

Reputation: 35

Android WebView and AdMob causing app to crash when used together

I am currently having an issue. I have AdMob ads on my android app with WebView. They are all in the same group. I have my top banner displaying great, and my bottom banner displaying amazingly great with the WebView. The problem is, when the ads are refreshing, I cannot click a link on the WebView without the app crashing. Is there any way around this issue?

I have been searching for hours and have found nothing other than knowing that AdMob adds also work with WebView. So I would think somehow having 2 adds and 1 WebView (maybe something to do with having 3 WebView in the same group is an issue?). So its time I ask the community.

Thanks everyone and will definitely note all responses.

Upvotes: 0

Views: 1003

Answers (1)

William
William

Reputation: 20196

It is against Admob policy to have more than one AdView on an Activity.

It is quite possible that having 2 AdViews is causing you the problem. Remove one of them.

Upvotes: 2

Related Questions