Я занимаюсь разработкой приложения для обмена сообщениями. Я использую умную библиотеку ответов Firebase, чтобы предлагать ответы в приложении. Я использую следующие зависимости для интеграции функции интеллектуального ответа.
implementation 'com.google.firebase:firebase-ml-natural-language:22.0.0'
implementation 'com.google.firebase:firebase-ml-natural-language-smart-reply-model:20.0.7'
В их магазине есть несколько случайных сбоев в их родном коде. Я попытался воспроизвести проблему без удачи. Кто-нибудь знает, как это исправить? Трассировка стека выглядит следующим образом
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.messages.chat <<<
backtrace:
#00 pc 000000000000e00e /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/split_config.armeabi_v7a.apk (offset 0x220000)
#01 pc 000000000000f389 /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/split_config.armeabi_v7a.apk (offset 0x220000)
#02 pc 000000000000f301 /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/split_config.armeabi_v7a.apk (offset 0x220000)
#03 pc 000000000000eff3 /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/split_config.armeabi_v7a.apk (offset 0x220000)
#04 pc 000000000000d9db /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/split_config.armeabi_v7a.apk (offset 0x220000) (Java_com_google_android_gms_predictondevice_jni_PredictorJni_setBlacklists+126)
#05 pc 000000000008e16b /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/oat/arm/base.odex (offset 0x8a000) (com.google.android.gms.predictondevice.jni.PredictorJni.setBlacklists+162)
#06 pc 0000000000412575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#07 pc 00000000003eb6d9 /system/lib/libart.so (art_quick_invoke_stub+224)
#08 pc 00000000000a1a15 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136)
#09 pc 00000000001e8ea5 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+236)
#10 pc 00000000001e47d1 /system/lib/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+608)
#11 pc 00000000003e89db /system/lib/libart.so (MterpInvokeVirtualQuickRange+306)
#12 pc 0000000000409194 /system/lib/libart.so (ExecuteMterpImpl+30100)
#13 pc 0000000000bed618 /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/oat/arm/base.vdex (com.google.android.gms.predictondevice.jni.zzc.zza+16)
#14 pc 00000000001c8063 /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.3819829026)+378)
#15 pc 00000000001cc749 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
#16 pc 00000000001e397b /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
#17 pc 00000000003e71c1 /system/lib/libart.so (MterpInvokeDirect+196)
#18 pc 0000000000405494 /system/lib/libart.so (ExecuteMterpImpl+14484)
#19 pc 0000000000bed72e /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/oat/arm/base.vdex (com.google.android.gms.predictondevice.jni.zzc.zzj+62)
#20 pc 00000000001c8063 /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.3819829026)+378)
#21 pc 00000000001cc749 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
#22 pc 00000000001e397b /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
#23 pc 00000000003e71c1 /system/lib/libart.so (MterpInvokeDirect+196)
#24 pc 0000000000405494 /system/lib/libart.so (ExecuteMterpImpl+14484)
#25 pc 0000000000bed66a /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/oat/arm/base.vdex (com.google.android.gms.predictondevice.jni.zzc.zza+10)
#26 pc 00000000001c8063 /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.3819829026)+378)
#27 pc 00000000001cc749 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
#28 pc 00000000001e397b /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
#29 pc 00000000003e877d /system/lib/libart.so (MterpInvokeVirtualQuick+428)
#30 pc 0000000000409114 /system/lib/libart.so (ExecuteMterpImpl+29972)
#31 pc 0000000000bed2f0 /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/oat/arm/base.vdex (com.google.android.gms.predictondevice.jni.zzb.onSuccess+8)
#32 pc 00000000001c8063 /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.3819829026)+378)
#33 pc 00000000001cc749 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
#34 pc 00000000001e397b /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
#35 pc 00000000003e6f03 /system/lib/libart.so (MterpInvokeInterface+1010)
#36 pc 0000000000405594 /system/lib/libart.so (ExecuteMterpImpl+14740)
#37 pc 0000000000bf02d2 /data/app/com.messages.chat-p-wWNf4-4WMcL6Vhpk9QCA==/oat/arm/base.vdex (com.google.android.gms.tasks.zzn.run+54)
#38 pc 00000000001c8063 /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.3819829026)+378)
#39 pc 00000000001cc68f /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
#40 pc 00000000003d9e19 /system/lib/libart.so (artQuickToInterpreterBridge+880)
#41 pc 0000000000416aff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
#42 pc 000000000097fa29 /system/framework/arm/boot-framework.oat (offset 0x3fe000) (android.os.Handler.dispatchMessage+64)
#43 pc 000000000098217b /system/framework/arm/boot-framework.oat (offset 0x3fe000) (android.os.Looper.loop+1162)
#44 pc 00000000007d8e63 /system/framework/arm/boot-framework.oat (offset 0x3fe000) (android.app.ActivityThread.main+690)
#45 pc 0000000000412575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#46 pc 00000000003eb7db /system/lib/libart.so (art_quick_invoke_static_stub+222)
#47 pc 00000000000a1a27 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
#48 pc 000000000034b585 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
#49 pc 000000000034c9d5 /system/lib/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+1024)
#50 pc 00000000002fe581 /system/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+40)
#51 pc 0000000000113307 /system/framework/arm/boot.oat (offset 0x10d000) (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+110)
#52 pc 0000000000bdb143 /system/framework/arm/boot-framework.oat (offset 0x3fe000) (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+114)
#53 pc 0000000000be0ce1 /system/framework/arm/boot-framework.oat (offset 0x3fe000) (com.android.internal.os.ZygoteInit.main+2016)
#54 pc 0000000000412575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#55 pc 00000000003eb7db /system/lib/libart.so (art_quick_invoke_static_stub+222)
#56 pc 00000000000a1a27 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
#57 pc 000000000034b585 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
#58 pc 000000000034b3af /system/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+310)
#59 pc 0000000000291f19 /system/lib/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+444)
#60 pc 00000000000711df /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+30)
#61 pc 0000000000073649 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+476)
#62 pc 0000000000002f15 /system/bin/app_process32 (main+728)
#63 pc 000000000008c34d /system/lib/libc.so (__libc_init+48)
#64 pc 0000000000002bfb /system/bin/app_process32 (_start_main+38)
#65 pc 0000000000000306 <anonymous>