java.lang.NoClassDefFoundError: android/os/AsyncTask

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NoClassDefFoundError: android/os/AsyncTask
at android.webkit.WebView.setupPackageListener(WebView.java:1229)
at android.webkit.WebView.(WebView.java:1100)
at android.webkit.WebView.(WebView.java:1061)
at android.webkit.WebView.(WebView.java:1050)
at android.webkit.WebView.(WebView.java:1040)
at android.webkit.WebView.(WebView.java:1031)
at com.google.android.gms.ads.internal.util.g.f(SourceFile:400)
at com.google.android.gms.ads.internal.util.g.a(SourceFile:385)
at com.google.android.gms.ads.internal.n.e.a(SourceFile:292)
at com.google.android.gms.ads.internal.b.(SourceFile:299)
at com.google.android.gms.ads.internal.b.(SourceFile:285)
at com.google.android.gms.ads.AdManagerCreatorImpl.a(SourceFile:36)
at com.google.android.gms.ads.internal.client.o.onTransact(SourceFile:66)
at android.os.Binder.transact(Binder.java:297)
at com.google.android.gms.internal.ar$a$a.a(Unknown Source)
at com.google.android.gms.internal.ah.b(Unknown Source)
at com.google.android.gms.internal.ah.a(Unknown Source)
at com.google.android.gms.internal.av.k(Unknown Source)
at com.google.android.gms.internal.av.a(Unknown Source)
at com.google.android.gms.ads.InterstitialAd.loadAd(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.