gpt4 book ai didi

android - java.lang.RuntimeException : Internal error in Firestore (0. 6.6-dev)

转载 作者:搜寻专家 更新时间:2023-11-01 09:25:52 42 4
gpt4 key购买 nike

我在我的应用程序中使用 FireStore。他们的版本是实现 'com.google.firebase:firebase-firestore:17.0.1'

我正在使用 Firestore 的数据库和 firestore 的离线功能 来获取数据。

这工作正常,但是当我签署应用程序时,我遇到了以下错误。

   E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.firestoretest.videostatus, PID: 13763
java.lang.RuntimeException: Internal error in Firestore (0.6.6-dev).
at bov.b(Unknown Source:19)
at box.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:172)
at android.app.ActivityThread.main(ActivityThread.java:6637)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Caused by: java.lang.ExceptionInInitializerError
at cbh.<clinit>(Unknown Source:20)
at ced.b(Unknown Source:0)
at cee.b(Unknown Source:0)
at cee.a(Unknown Source:0)
at car.a(Unknown Source:4)
at bod.<init>(Unknown Source:22)
at bjo.a(Unknown Source:87)
at bjq.run(Unknown Source:8)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at bov$a.run(Unknown Source:15)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Package.getImplementationVersion()' on a null object reference
at cco.b(Unknown Source:6)
at cco.<clinit>(Unknown Source:137)
at cbh.<clinit>(Unknown Source:20) 
at ced.b(Unknown Source:0) 
at cee.b(Unknown Source:0) 
at cee.a(Unknown Source:0) 
at car.a(Unknown Source:4) 
at bod.<init>(Unknown Source:22) 
at bjo.a(Unknown Source:87) 
at bjq.run(Unknown Source:8) 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457) 
at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) 
at bov$a.run(Unknown Source:15) 
at java.lang.Thread.run(Thread.java:764)

请任何人知道这个错误,然后请通知我。提前致谢。

最佳答案

尝试将 -keep class io.grpc.** {*;} 添加到您的混淆器配置中。它应该工作。自从我添加它以来没有任何崩溃。将进一步测试。

关于android - java.lang.RuntimeException : Internal error in Firestore (0. 6.6-dev),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50739346/

42 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com