简体   繁体   English

适用于所有 Android 6.0+ 设备的 Google Play 预发布报告崩溃

[英]Google Play Pre-launch Report crash for all Android 6.0+ devices

Anyone getting Google Play Store pre-launch report crashes?任何收到 Google Play 商店发布前报告崩溃的人? We are for our app which runs fine on all our test devices.我们的应用程序可以在我们所有的测试设备上正常运行。 We are also getting Non-SDK API errors but they're all in support library version 27.1.1 and we can't upgrade to Support library 28.0.0 or AndroidX.我们也收到了非 SDK API 错误,但它们都在支持库版本 27.1.1 中,我们无法升级到支持库 28.0.0 或 AndroidX。 It ran fine a couple of days ago now every test device on the pre-launch report running >API 19 crashes at the start.几天前它运行良好,现在运行 > API 19 的预发布报告中的每个测试设备在开始时都崩溃了。 We have no custom ParcelableSpans .我们没有自定义ParcelableSpans What's happening?发生了什么?

java.lang.AbstractMethodError: abstract method "int android.text.ParcelableSpan.getSpanTypeIdInternal()"
    at android.text.TextUtils.writeToParcel(TextUtils.java:653)
    at android.os.Parcel.writeCharSequence(Parcel.java:576)
    at android.os.Parcel.writeValue(Parcel.java:1362)
    at android.os.Parcel.writeList(Parcel.java:759)
    at android.view.accessibility.AccessibilityEvent.writeAccessibilityRecordToParcel(AccessibilityEvent.java:1173)
    at android.view.accessibility.AccessibilityEvent.writeToParcel(AccessibilityEvent.java:1139)
    at android.view.accessibility.IAccessibilityManager$Stub$Proxy.sendAccessibilityEvent(IAccessibilityManager.java:233)
    at android.view.accessibility.AccessibilityManager.sendAccessibilityEvent(AccessibilityManager.java:320)
    at android.view.ViewRootImpl.requestSendAccessibilityEvent(ViewRootImpl.java:6426)
    at android.view.View.sendAccessibilityEventUncheckedInternal(View.java:5842)
    at android.view.View.sendAccessibilityEventUnchecked(View.java:5821)
    at android.view.View.sendAccessibilityEventInternal(View.java:5798)
    at android.view.View.sendAccessibilityEvent(View.java:5765)
    at com.android.internal.policy.PhoneWindow$DecorView.sendAccessibilityEvent(PhoneWindow.java:2517)
    at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3414)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5459)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

build.gradle

android {
  compileSdkVersion 27
  defaultConfig {
    minSdkVersion 16
    targetSdkVersion 27
    ...
  }
  ...

We had similar issues and solved it by adding the following directive to the proguard-rules.pro file:我们遇到了类似的问题,并通过在proguard-rules.pro文件中添加以下指令来解决它:

-keepclassmembers class * implements android.text.ParcelableSpan {
  public int getSpanTypeIdInternal();
  public void writeToParcelInternal(android.os.Parcel, int);
}

I would recommend asking these specific questions to the #test-lab channel on the Firebase community on Slack.我建议向 Slack 上 Firebase 社区的 #test-lab 频道询问这些具体问题。 It would be best if you could even provide the exact details on which tests failed, as the devs can look at your case directly.如果您甚至可以提供有关哪些测试失败的确切详细信息,那将是最好的,因为开发人员可以直接查看您的案例。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google Play Store App 发布前发布报告 - Google Play Store App publich pre-launch report 是什么导致 Google Play 管理中心发布前报告中显示错误? - What is causing an error showed in the Google Play Console pre-launch report? 请解读 Google Play 发布前崩溃和 ANR 报告的详细信息 - Please Interpret the Google Play Pre-launch Crashes and ANRs Report Details 一键式Google登录以获取预发布报告 - One click Google Sign In for Pre-Launch report Playstore Android预启动测试致命异常:ControllerMessenger - Playstore Android Pre-Launch Test FATAL EXCEPTION: ControllerMessenger 仅在android 6.0+上找不到类 - Class not found only on android 6.0+ 在棉花糖(6.0+)设备上的onCreateViewHolder方法中夸大RecyclerView项的布局时引发“ android.view.InflateException” - “android.view.InflateException” being thrown on inflating RecyclerView item's layout in onCreateViewHolder method on Marshmallow(6.0+) devices java.lang.IllegalStateException:HTC Android 6.0 Marshmallow崩溃 - Google Play快照 - java.lang.IllegalStateException: HTC Android 6.0 Marshmallow crash - Google Play Snapshots android pre-launch-report - java.lang.RuntimeException with com.google.android.finsky.services.IMarketCatalogService - android pre-launch-report - java.lang.RuntimeException with com.google.android.finsky.services.IMarketCatalogService Android 5.x ClassNotFoundException在6.0+上运行正常 - Android 5.x ClassNotFoundException works fine on 6.0+
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM