Я включил Firestore
в свое приложение для базовых операций чтения и записи в некоторые таблицы.Приложение отлично работает в режиме отладки, но когда я генерирую сборку релиза, возникает следующая ошибка:
java.lang.RuntimeException: Internal error in Firestore (0.6.6-dev).
at com.google.firebase.firestore.g.zza.a(com.google.firebase:firebase-firestore@@17.0.5:14)
at com.google.firebase.firestore.g.zzd.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6649)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:826)
Caused by: java.lang.AbstractMethodError: abstract method "com.google.protobuf.Internal$ProtobufList com.google.protobuf.Internal$ProtobufList.b(int)"
at com.google.protobuf.GeneratedMessageLite.a(GeneratedMessageLite.java:36)
at com.google.b.a.zzan.a(com.google.firebase:firebase-firestore@@17.0.5:91)
at com.google.b.a.zzan$zza.a(com.google.firebase:firebase-firestore@@17.0.5:2)
at com.google.firebase.firestore.f.zzn.b(com.google.firebase:firebase-firestore@@17.0.5:28)
at com.google.firebase.firestore.c.zzh.a(com.google.firebase:firebase-firestore@@17.0.5:59)
at com.google.firebase.firestore.c.zzav.b(com.google.firebase:firebase-firestore@@17.0.5:8)
at com.google.firebase.firestore.c.zzi.a(com.google.firebase:firebase-firestore@@17.0.5:52)
at com.google.firebase.firestore.c.zzp.run(Unknown Source:6)
at com.google.firebase.firestore.c.zzat.a(com.google.firebase:firebase-firestore@@17.0.5:15)
at com.google.firebase.firestore.c.zzi.a(com.google.firebase:firebase-firestore@@17.0.5:43)
at com.google.firebase.firestore.b.zzac.a(com.google.firebase:firebase-firestore@@17.0.5:5)
at com.google.firebase.firestore.b.zzd.a(com.google.firebase:firebase-firestore@@17.0.5:9)
at com.google.firebase.firestore.b.zzg.c(com.google.firebase:firebase-firestore@@17.0.5:1)
at com.google.firebase.firestore.b.zzo.run(Unknown Source:4)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
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:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at com.google.firebase.firestore.g.zza$zza.run(com.google.firebase:firebase-firestore@@17.0.5:3)
at java.lang.Thread.run(Thread.java:764)
Кажется, что нет никаких проблем конфигурации.Как это можно исправить?