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)

twittercommunity.com | 2 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Setting up Fabric digits authentication for android - Digits - Twitter Developers

    twittercommunity.com | 2 weeks ago
    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)
  2. 0

    Impacted Cases ============== I've a device on arm64-v8a, with another library (Trusteer). If I use the arm64-v8a file from Trusteer, CrossWalk crashes. The device is a Nexus 5X. Here's the stack trace : {noformat} I/APP_APPApplication: attachBaseContext I/MultiDex: VM with version 2.1.0 has multidex support I/MultiDex: install I/MultiDex: VM has multidex support, MultiDex support library is disabled. I/APP_APPApplication: onCreate I/APP_APPApplication: setupCrashlytics I/CrashlyticsCore: Initializing Crashlytics 2.3.8.97 I/APP_APPApplication: startCloudCardService I/APP_APPApplication: setupXitiManager I/APP_APPApplication: setupWebServicesManager I/APP_APPApplication: setupWebViewPreferences I/APP_WebViewPreferences: use animatable xwalk view D/XWalkLib: Init embedded mode D/XWalkLib: [App Version] build:18.48.477.13, api:5, min_api:5 D/XWalkLib: [Lib Version] build:18.48.477.13, api:5, min_api:5 D/XWalkLib: XWalk core version matched D/XWalkLib: Supported ABIs: arm64-v8a, armeabi-v7a, armeabi *D/XWalkLib: Device ABI: arm64-v8a D/XWalkLib: java.lang.UnsatisfiedLinkError*: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/my.app-1/base.apk"],nativeLibraryDirectories=[/data/app/my.app-1/lib/arm64, /system/fake-libs64, /data/app/my.app-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libxwalkcore.so" D/XWalkLib: Mismatch of CPU architecture D/AndroidRuntime: Shutting down VM E/CrashlyticsCore: Failed to execute task. java.util.concurrent.TimeoutException 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 com.atinternet.tracker.CrashDetectionHandler.uncaughtException(CrashDetectionHandler.java:107) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063) E/AndroidRuntime: FATAL EXCEPTION: main Process: my.app, PID: 25921 junit.framework.AssertionFailedError: Please have your activity extend XWalkActivity for shared mode at junit.framework.Assert.fail(Assert.java:50) at org.xwalk.core.XWalkCoreWrapper.initEmbeddedMode(XWalkCoreWrapper.java:220) at org.xwalk.core.XWalkPreferences.reflectionInit(XWalkPreferences.java:268) at org.xwalk.core.XWalkPreferences.setValue(XWalkPreferences.java:107) at my.app.preferences.WebViewPreferences.setup(WebViewPreferences.java:61) at my.app.application.APPApplication.setupWebViewPreferences(APPApplication.java:78) at my.app.application.APPApplication.onCreate(APPApplication.java:66) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5361) at android.app.ActivityThread.-wrap2(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6077) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) W/ActivityManager: Force finishing activity my.app/.ui.activities.AuthenticationActivity {noformat}

    JIRA | 5 months ago | Roy Benjamin
    java.util.concurrent.TimeoutException
  3. 0

    Okio dependency problem

    GitHub | 1 year ago | Anonomousxxx
    java.util.concurrent.TimeoutException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Retrofit+OkHttp+Picasso okio dependency

    Stack Overflow | 1 year ago | Anonomousxxx
    java.util.concurrent.TimeoutException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.crashlytics.android
      CrashlyticsUncaughtExceptionHandler$5.call
      1. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.writeSessionEvent(CrashlyticsUncaughtExceptionHandler.java:1005)
      2. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.writeFatal(CrashlyticsUncaughtExceptionHandler.java:766)
      3. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.handleUncaughtException(CrashlyticsUncaughtExceptionHandler.java:262)
      4. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.access$100(CrashlyticsUncaughtExceptionHandler.java:55)
      5. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$5.call(CrashlyticsUncaughtExceptionHandler.java:238)
      6. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$5.call(CrashlyticsUncaughtExceptionHandler.java:235)
      6 frames
    3. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3 frames
    4. io.fabric.sdk
      BackgroundPriorityRunnable.run
      1. io.fabric.sdk.android.services.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:75)
      2. io.fabric.sdk.android.services.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:30)
      2 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame