问题:java.lang.NoSuchMethodError:Google Playstore中没有静态方法printStackTrace(Ljava / lang / Throwable;)(示例代

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了问题:java.lang.NoSuchMethodError:Google Playstore中没有静态方法printStackTrace(Ljava / lang / Throwable;)(示例代相关的知识,希望对你有一定的参考价值。

我在我的Playstore中获得预发布报告,如下所示:

错误日志 -

java.lang.NoSuchMethodError: No static method printStackTrace(Ljava/lang/Throwable;)V in class Lcom/google/devtools/build/android/desugar/runtime/ThrowableExtension; or its super classes (declaration of 'com.google.devtools.build.android.desugar.runtime.ThrowableExtension' appears in /data/app/com.google.android.apps.mtaas.crawler-1/base.apk)
FATAL EXCEPTION: ControllerMessenger
Process: com.veblr.videomate, PID: 17578
java.lang.NoSuchMethodError: No static method printStackTrace(Ljava/lang/Throwable;)V in class Lcom/google/devtools/build/android/desugar/runtime/ThrowableExtension; or its super classes (declaration of 'com.google.devtools.build.android.desugar.runtime.ThrowableExtension' appears in /data/app/com.google.android.apps.mtaas.crawler-1/base.apk)
    at com.veblr.videomate.SpashScreenActiviy.updateAndroidSecurityProvider(Unknown Source)
    at com.veblr.videomate.VideoPlayerActivity.onCreate(Unknown Source)
    at android.app.Activity.performCreate(Activity.java:6013)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
    at android.support.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:667)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2359)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2466)
    at android.app.ActivityThread.access$1200(ActivityThread.java:152)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1341)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.support.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:148)
    at android.support.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:466)
    at android.support.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:420)
    at android.support.test.espresso.base.UiControllerImpl.injectMotionEvent(UiControllerImpl.java:234)
    at android.support.test.espresso.action.MotionEvents.sendUp(MotionEvents.java:140)
    at android.support.test.espresso.action.MotionEvents.sendUp(MotionEvents.java:123)
    at android.support.test.espresso.action.Tap.sendSingleTap(Tap.java:170)
    at android.support.test.espresso.action.Tap.access$100(Tap.java:31)
    at android.support.test.espresso.action.Tap$1.sendTap(Tap.java:46)
    at android.support.test.espresso.action.GeneralClickAction.perform(GeneralClickAction.java:136)
    at android.support.test.espresso.ViewInteraction$SingleExecutionViewAction.perform(ViewInteraction.java:355)
    at android.support.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:242)
    at android.support.test.espresso.ViewInteraction.access$100(ViewInteraction.java:62)
    at android.support.test.espresso.ViewInteraction$1.call(ViewInteraction.java:149)
    at android.support.test.espresso.ViewInteraction$1.call(ViewInteraction.java:146)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5538)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

这是我在报告中显示的logcat。我无法找出我的应用程序的问题。

这是显示错误的设备:

Tested device

答案

显然,至少有其他人遇到与您相同的问题:Android问题跟踪器中的App crash due to not found exception method printStateTrace

也许如果您可以提供其他信息,他们将能够调查此问题。

另一个similar issue是因为Gradle插件中的一个错误,所以也许你可以尝试更新它。

以上是关于问题:java.lang.NoSuchMethodError:Google Playstore中没有静态方法printStackTrace(Ljava / lang / Throwable;)(示例代的主要内容,如果未能解决你的问题,请参考以下文章

什么是问题管理

SVM原问题与对偶问题

P问题,NP问题,NPC问题,NP-hard问题

P问题NP问题和NPC问题

网络流24题(好大的坑啊)

算法---- 01背包问题和完全背包问题LeetCode系列问题题解