How Do I Fix Admob Crashing My Android App?
AdMob has been working in my Android app for a while now until recently when I tried to update. I tried to update the app itself but I saw that it kept crashing. I tried debugging
Solution 1:
Make sure your jar files are checked in Properties --> Java Build Path --> Order and Export.
Solution 2:
You didn't post error so I am just guessing, admob had a bug on android os 2.1+, and I had a admob crashing issue, I found a suggestion to not calling adview.destroy on OnDestroy because it causes crashing.
If you have adview.destroy() on your onDestroy override, just remark it and try.
@OverrideprotectedvoidonDestroy() {
super.onDestroy();
// bug at sdk, no need to call//adView.destroy();
}
Post a Comment for "How Do I Fix Admob Crashing My Android App?"