Catch all AdMob crashes?

2 min


0

AdMob for Android is liable for over 90% of crashes and ANRs in all of my apps. All of those crashes have been reported to AdMob going again years and regardless of all the workarounds and updates the crashes maintain popping up. Sometimes one crash will probably be mounted however changed with an ANR. Sometimes all the pieces will work superb after which in the future I get tons of of crashes.

I’m certain there are the reason why the AdMob crew cannot repair all the pieces, however is there a intelligent approach for my app to catch all crashes which are brought on by the AdMob plugin?

An instance:

Fatal Exception: java.util.concurrent.TimeoutException: com.google.android.gms.adverts.nonagon.advert.interstitial.b.finalize() timed out after 10 seconds
       at com.google.android.gms.adverts.inside.webview.j.ok(j.java:3)
       at com.google.android.gms.adverts.inside.webview.v.destroy(v.java:4)
       at com.google.android.gms.adverts.inside.webview.t.destroy(t.java:10)
       at com.google.android.gms.adverts.nonagon.advert.interstitial.b.finalize(b.java:2)
       at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:217)
       at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:200)
       at java.lang.Thread.run(Thread.java:818)

And one other:

Caused by java.lang.IllegalStateException: Only fullscreen actions can request orientation
       at android.os.Parcel.learnException(Parcel.java:1975)
       at android.os.Parcel.learnException(Parcel.java:1913)
       at android.app.IActivitySupervisor$Stub$Proxy.setRequestedOrientation(IActivitySupervisor.java:6186)
       at android.app.Activity.setRequestedOrientation(Activity.java:5840)
       at com.google.android.gms.adverts.inside.overlay.zzd.shut(zzd.java:146)
       at com.google.android.gms.adverts.inside.overlay.zzd.zznh(zzd.java:166)
       at com.google.android.gms.adverts.inside.overlay.zzd.shut(zzd.java:61)
       at com.google.android.gms.adverts.inside.overlay.consumer.c.a(c.java:33)
       at og.onTransact(og.java:4)
       at android.os.Binder.transact(Binder.java:612)
       at com.google.android.gms.inside.adverts.zzej.transactAndLearnExceptionReturnVoid(zzej.java:7)
       at com.google.android.gms.inside.adverts.zzaar.onCreate(zzaar.java:8)
       at com.google.android.gms.adverts.AdvertActivity.onCreate(AdvertActivity.java:29)
       at android.app.Activity.performCreate(Activity.java:7183)
       at android.app.Instrumentation.nameActivityOnCreate(Instrumentation.java:1220)
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2910)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032)
       at android.app.ActivityThread.-wrap11(ActivityThread.java)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
       at android.os.Handler.dispatchMessage(Handler.java:105)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.major(ActivityThread.java:6944)
       at java.lang.replicate.Method.invoke(Method.java)
       at com.android.inside.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
       at com.android.inside.os.ZygoteInit.major(ZygoteInit.java:1374)

And one other:

Caused by java.lang.ClassNotFoundException: Didn't discover class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000099/dl-AdsFdrDynamite.integ_20290000008.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000099/n/armeabi-v7a, /data/user_de/0/com.google.android.gms/app_chimera/m/00000099/n/armeabi, /system/lib]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at ab.loadClass(ab.java:4)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at ly.b(ly.java:2)
       at lx.a(lx.java:1)
       at lz.a(lz.java:29)
       at com.google.android.gms.adverts.inside.util.aq.a(aq.java:10)
       at lc.a(lc.java:8)
       at lc.run(lc.java:2)

Obviously I do not care if adverts do not present up in these instances, I simply don’t desire most of my work on my apps to be coping with AdMob and I do not need AdMob reducing my Android vitals. I’d select one other advert supplier however I do not know whether or not they’ll have these issues as properly (I do not see why they would not).


What's Your Reaction?

hate hate
0
hate
confused confused
0
confused
fail fail
0
fail
fun fun
0
fun
geeky geeky
0
geeky
love love
0
love
lol lol
0
lol
omg omg
0
omg
win win
0
win

0 Comments

Your email address will not be published. Required fields are marked *

Choose A Format
Trivia quiz
Series of questions with right and wrong answers that intends to check knowledge
Poll
Voting to make decisions or determine opinions
Story
Formatted Text with Embeds and Visuals
List
The Classic Internet Listicles
Meme
Upload your own images to make custom memes
Video
Youtube, Vimeo or Vine Embeds
Audio
Soundcloud or Mixcloud Embeds
Image
Photo or GIF
Gif
GIF format