java.lang.RuntimeException: An error occured while executing doInBackground()

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

Samebug tips

,
Expert tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

Solutions on the web

via GitHub by somefakeuser
, 2 years ago
An error occured while executing doInBackground()
via Google Groups by donde...@gmail.com, 1 year ago
An error occured while executing doInBackground()
via Stack Overflow by Shellz
, 1 year ago
An error occured while executing doInBackground()
via solutionscore.com by Unknown author, 2 years ago
An error occured while executing doInBackground()
via Google Groups by AppWorkerKusi via StackOverflow, 10 months ago
An error occured while executing doInBackground()
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/data/app/com.google.android.gms-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libgmscore.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:988)
at com.google.android.gms.org.conscrypt.NativeCrypto.(SourceFile:53)
at com.google.android.gms.org.conscrypt.OpenSSLContextImpl$TLSv12.(SourceFile:152)
at com.google.android.gms.org.conscrypt.OpenSSLContextImpl.getPreferred(SourceFile:55)
at com.google.android.gms.common.net.SSLCertificateSocketFactory.a(SourceFile:272)
at com.google.android.gms.common.net.SSLCertificateSocketFactory.a(SourceFile:292)
at com.google.android.gms.common.net.SSLCertificateSocketFactory.createSocket(SourceFile:552)
at com.android.okhttp.Connection.upgradeToTls(Connection.java:175)
at com.android.okhttp.Connection.connect(Connection.java:155)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:276)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:211)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:382)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:106)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:217)
at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
at com.google.android.gms.checkin.k.a(SourceFile:366)
at com.google.android.gms.checkin.k.a(SourceFile:238)
at com.google.android.gms.checkin.g.a(SourceFile:711)
at com.google.android.gms.checkin.g.doInBackground(SourceFile:678)
at android.os.AsyncTask$2.call(AsyncTask.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

Once, 1 month ago
159 times, 3 months ago
4 times, 7 months ago
8 times, 10 months ago
3 times, 10 months ago

Write tip

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