代码之家  ›  专栏  ›  技术社区  ›  Prithvi Bhola

尝试使用Firebase UI身份验证登录时出现Proguard问题

  •  0
  • Prithvi Bhola  · 技术社区  · 7 年前

    我正在使用Firebase UI Auth登录到应用程序。调试版本工作正常,但当我尝试使用发布版本登录时,应用程序因错误而崩溃。

    2018-10-02 14:05:23.072 4827-4866/io.palette E/c.b.a.J: Creating atomic field updaters failed
    java.lang.RuntimeException: java.security.PrivilegedActionException: java.lang.NoSuchFieldException: No field streamClosed in class Lc/b/a/J$c; (declaration of 'c.b.a.J$c' appears in /data/app/io.palette-1/base.apk)
        at java.util.concurrent.atomic.AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl.<init>(AtomicIntegerFieldUpdater.java:380)
        at java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater(AtomicIntegerFieldUpdater.java:58)
        at c.b.a.J.<clinit>(:77)
        at c.b.a.c.c(:420)
        at c.b.a.c.a(:395)
        at com.google.firebase.firestore.f.zzd.<init>(:102)
        at com.google.firebase.firestore.b.zzg.zza(:1217)
        at com.google.firebase.firestore.b.zzi.run()
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
        at com.google.firebase.firestore.g.zza$zza.run(:190)
        at java.lang.Thread.run(Thread.java:761)
    

    可能的原因是什么?

    0 回复  |  直到 7 年前