java.lang.RuntimeException

An error occured while executing doInBackground()

Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web18665

  • via JIRA by Dong Jun, 10 months ago
    An error occured while executing doInBackground()
  • via JIRA by Dor Druker, 1 year ago
    An error occured while executing doInBackground()
  • via JIRA by Gao Dexiang, 1 year ago
    An error occured while executing doInBackground()
  • Stack trace

    • java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:300) 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.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841) Caused by: java.lang.UnsatisfiedLinkError: Couldn't load com_googlecode_android_scripting_Exec from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.android.python32-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.android.python32-2, /vendor/lib, /system/lib]]]: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:358) at java.lang.System.loadLibrary(System.java:526) at com.googlecode.android_scripting.Exec.<clinit>(Exec.java:68) at com.android.python32.process.Process.start(Process.java:137) at com.android.python32.process.InterpreterProcess.start(InterpreterProcess.java:138) at com.android.python32.process.MyScriptProcess.launchScript(MyScriptProcess.java:61) at com.android.python32.BackgroundScriptService.startMyMain(BackgroundScriptService.java:182) at com.android.python32.BackgroundScriptService.access$000(BackgroundScriptService.java:45) at com.android.python32.BackgroundScriptService$startMyAsyncTask.doInBackground(BackgroundScriptService.java:138) at com.android.python32.BackgroundScriptService$startMyAsyncTask.doInBackground(BackgroundScriptService.java:131)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    8 times, 1 year ago
    271 more bugmates