[英]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.