java.util.concurrent.ExecutionException

java.lang.NoSuchMethodError: No static method getBatteryLevel(Landroid/content/Context;)F in class Lio/fabric/sdk/android/services/common/CommonUtils; or its super classes (declaration of 'io.fabric.sdk.android.services.common.CommonUtils' appears in /data/app/com.sandwich.chatclient-2/base.apk)

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web2

  • via GitHub by jasongrishkoff
    ,
  • Stack trace

    • java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: No static method getBatteryLevel(Landroid/content/Context;)F in class Lio/fabric/sdk/android/services/common/CommonUtils; or its super classes (declaration of 'io.fabric.sdk.android.services.common.CommonUtils' appears in /data/app/com.sandwich.chatclient-2/base.apk) at java.util.concurrent.FutureTask.report(FutureTask.java:93) at java.util.concurrent.FutureTask.get(FutureTask.java:177) at com.crashlytics.android.core.CrashlyticsExecutorServiceWrapper.executeSyncLoggingException(CrashlyticsExecutorServiceWrapper.java:44) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.uncaughtException(CrashlyticsUncaughtExceptionHandler.java:235) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690) Caused by: java.lang.NoSuchMethodError: No static method getBatteryLevel(Landroid/content/Context;)F in class Lio/fabric/sdk/android/services/common/CommonUtils; or its super classes (declaration of 'io.fabric.sdk.android.services.common.CommonUtils' appears in /data/app/com.sandwich.chatclient-2/base.apk) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.writeSessionEvent(CrashlyticsUncaughtExceptionHandler.java:1005) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.writeFatal(CrashlyticsUncaughtExceptionHandler.java:766) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.handleUncaughtException(CrashlyticsUncaughtExceptionHandler.java:262) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.access$100(CrashlyticsUncaughtExceptionHandler.java:55) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$5.call(CrashlyticsUncaughtExceptionHandler.java:238) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$5.call(CrashlyticsUncaughtExceptionHandler.java:235) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at io.fabric.sdk.android.services.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:75) at io.fabric.sdk.android.services.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:30) at java.lang.Thread.run(Thread.java:818)

    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

    We couldn't find other users who have seen this exception.