我正在使用Android应用(从Firebase实时数据库)使用Firestore。我遇到了一个很难解决的问题。这是来自logcat的错误:
07-14 20:42:32.565 13093-13093/com.aayaffe.sailingracecoursemanager E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.aayaffe.sailingracecoursemanager, PID: 13093
java.lang.RuntimeException: Internal error in Firestore (0.6.6-dev).
at com.google.firebase.firestore.g.zza.zzb(SourceFile:324)
at com.google.firebase.firestore.g.zzd.run(Unknown Source)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.NoClassDefFoundError: com.google.common.base.CharMatcher
at com.google.common.base.Splitter.on(Splitter.java:119)
at io.grpc.internal.GrpcUtil.<clinit>(GrpcUtil.java:200)
at io.grpc.internal.AbstractManagedChannelImplBuilder.<clinit>(AbstractManagedChannelImplBuilder.java:81)
at io.grpc.okhttp.OkHttpChannelBuilder.forTarget(OkHttpChannelBuilder.java:137)
at io.grpc.okhttp.OkHttpChannelProvider.builderForTarget(OkHttpChannelProvider.java:48)
at io.grpc.okhttp.OkHttpChannelProvider.builderForTarget(OkHttpChannelProvider.java:27)
at io.grpc.ManagedChannelBuilder.forTarget(ManagedChannelBuilder.java:70)
at com.google.firebase.firestore.f.zzd.<init>(SourceFile:88)
at com.google.firebase.firestore.b.zzf.zza(SourceFile:1217)
at com.google.firebase.firestore.b.zzh.run(Unknown Source)
尝试从数据库读取数据时,显然会发生此问题,但我不确定。
我发现了一件事。此问题发生在Android版本6.0.1上,而不是在Android版本8.0.0上
拉丁的传说
慕田峪9158850
ITMISS
相关分类