颤动——java.lang.RuntimeException:在 com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3 (AsyncQueue.java)
Flutter -- java.lang.RuntimeException: at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3 (AsyncQueue.java)
问题:
这是我的输出:
java.lang.RuntimeException:
at com.google.firebase.firestore.util.AsyncQueue.lambda$panic (AsyncQueue.java)
at com.google.firebase.firestore.util.-$$Lambda$AsyncQueue$jx84dqgUsF4ojecSMurRqFLFD1Y.run (-.java)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7050)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
Caused by: com.google.android.gms.tasks.RuntimeExecutionException:
at com.google.android.gms.tasks.zzw.getResult (zzw.java)
at com.google.firebase.firestore.remote.FirestoreChannel.lambda$runBidiStreamingRpc[=13=] (FirestoreChannel.java)
at com.google.firebase.firestore.remote.FirestoreChannel.lambda$runBidiStreamingRpc[=13=]$FirestoreChannel (FirestoreChannel.java)
at com.google.firebase.firestore.remote.-$$Lambda$FirestoreChannel$ThFui-hvcsrVGYxlBtcTH5vVbvE.onComplete (-.java:6)
at com.google.android.gms.tasks.zzi.run (zzi.java:21)
at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:459)
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.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run (AsyncQueue.java:15)
at java.lang.Thread.run (Thread.java:764)
Caused by: java.lang.RuntimeException:
at com.google.android.gms.tasks.zzz.run (zzz.java:17)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=] (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=]$ThrottledForwardingExecutor (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.-$$Lambda$ThrottledForwardingExecutor$MfIJbVuxZtLwosAgPzPA-cU66Ko.run (-.java:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:764)
Caused by: java.lang.AssertionError:
at java.lang.Enum.create (Enum.java:272)
at java.lang.Enum.create (Enum.java:262)
at libcore.util.BasicLruCache.get (BasicLruCache.java:58)
at java.lang.Enum.getSharedConstants (Enum.java:289)
at java.lang.Class.getEnumConstantsShared (Class.java:2424)
at java.util.EnumSet.getUniverse (EnumSet.java:407)
at java.util.EnumSet.noneOf (EnumSet.java:109)
at java.util.EnumSet.of (EnumSet.java:235)
at io.grpc.okhttp.OkHttpChannelBuilder.<clinit> (OkHttpChannelBuilder.java:91)
at io.grpc.okhttp.OkHttpChannelBuilder.forTarget (OkHttpChannelBuilder.java)
at io.grpc.okhttp.OkHttpChannelProvider.builderForTarget (OkHttpChannelProvider.java)
at io.grpc.okhttp.OkHttpChannelProvider.builderForTarget (OkHttpChannelProvider.java)
at io.grpc.ManagedChannelBuilder.forTarget (ManagedChannelBuilder.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.initChannel (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.lambda$initChannelTask (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.lambda$initChannelTask$GrpcCallProvider (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.-$$Lambda$GrpcCallProvider$SCD5iiibQ8l4haiO8ofSfE0wIJg.call (-.java:2)
at com.google.android.gms.tasks.zzz.run (zzz.java:4)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=] (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=]$ThrottledForwardingExecutor (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.-$$Lambda$ThrottledForwardingExecutor$MfIJbVuxZtLwosAgPzPA-cU66Ko.run (-.java:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:764)
Caused by: java.lang.NoSuchMethodException:
at java.lang.Class.getMethod (Class.java:2069)
at java.lang.Class.getDeclaredMethod (Class.java:2047)
at java.lang.Enum.create (Enum.java:268)
at java.lang.Enum.create (Enum.java:262)
at libcore.util.BasicLruCache.get (BasicLruCache.java:58)
at java.lang.Enum.getSharedConstants (Enum.java:289)
at java.lang.Class.getEnumConstantsShared (Class.java:2424)
at java.util.EnumSet.getUniverse (EnumSet.java:407)
at java.util.EnumSet.noneOf (EnumSet.java:109)
at java.util.EnumSet.of (EnumSet.java:235)
at io.grpc.okhttp.OkHttpChannelBuilder.<clinit> (OkHttpChannelBuilder.java:91)
at io.grpc.okhttp.OkHttpChannelBuilder.forTarget (OkHttpChannelBuilder.java)
at io.grpc.okhttp.OkHttpChannelProvider.builderForTarget (OkHttpChannelProvider.java)
at io.grpc.okhttp.OkHttpChannelProvider.builderForTarget (OkHttpChannelProvider.java)
at io.grpc.ManagedChannelBuilder.forTarget (ManagedChannelBuilder.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.initChannel (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.lambda$initChannelTask (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.lambda$initChannelTask$GrpcCallProvider (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.-$$Lambda$GrpcCallProvider$SCD5iiibQ8l4haiO8ofSfE0wIJg.call (-.java:2)
at com.google.android.gms.tasks.zzz.run (zzz.java:4)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=] (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=]$ThrottledForwardingExecutor (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.-$$Lambda$ThrottledForwardingExecutor$MfIJbVuxZtLwosAgPzPA-cU66Ko.run (-.java:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:764)
如果我想打开 APK:
- 应用程序完美打开
- 黑屏
- 应用进入后台
备注:
如果我 运行 flutter run --release
应用程序可以完美打开,但它也显示错误:
Error: ADB exited with exit code 1
Performing Streamed Install
adb: failed to install C:\Users\Flutter\StudioProjects\nomadnet2\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.apps.social_circle signatures do not match previously installed version; ignoring!]
如果我 运行: flutter run
它完美地工作
我已经试过了:
- 升级包
- 重新安装flutter SDK
- 更新抖动
我也尝试了更多的东西,但我不认识了
请帮帮我!
尝试在
中删除您之前的 APK
C:\Users\Flutter\StudioProjects\nomadnet2\build\app\outputs\flutter-apk\app.apk
然后使用命令
flutter clean
酒吧得到你的 pubspect.yaml
并再次尝试运行发布版本
删除之前在 phone 或模拟器中安装的应用程序,然后 运行 再次发布,可能是因为不同的签名密钥。
我遇到过类似的问题。
我所做的是:-
转到 phone 设置 -> 在应用程序部分下 -> 搜索应用程序名称 -> 为所有用户删除。
这适用于我的情况,试试吧:)
对我有用的解决方案是从头开始注册所有包
希望对您有所帮助!
问题:
这是我的输出:
java.lang.RuntimeException:
at com.google.firebase.firestore.util.AsyncQueue.lambda$panic (AsyncQueue.java)
at com.google.firebase.firestore.util.-$$Lambda$AsyncQueue$jx84dqgUsF4ojecSMurRqFLFD1Y.run (-.java)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7050)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
Caused by: com.google.android.gms.tasks.RuntimeExecutionException:
at com.google.android.gms.tasks.zzw.getResult (zzw.java)
at com.google.firebase.firestore.remote.FirestoreChannel.lambda$runBidiStreamingRpc[=13=] (FirestoreChannel.java)
at com.google.firebase.firestore.remote.FirestoreChannel.lambda$runBidiStreamingRpc[=13=]$FirestoreChannel (FirestoreChannel.java)
at com.google.firebase.firestore.remote.-$$Lambda$FirestoreChannel$ThFui-hvcsrVGYxlBtcTH5vVbvE.onComplete (-.java:6)
at com.google.android.gms.tasks.zzi.run (zzi.java:21)
at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:459)
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.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run (AsyncQueue.java:15)
at java.lang.Thread.run (Thread.java:764)
Caused by: java.lang.RuntimeException:
at com.google.android.gms.tasks.zzz.run (zzz.java:17)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=] (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=]$ThrottledForwardingExecutor (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.-$$Lambda$ThrottledForwardingExecutor$MfIJbVuxZtLwosAgPzPA-cU66Ko.run (-.java:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:764)
Caused by: java.lang.AssertionError:
at java.lang.Enum.create (Enum.java:272)
at java.lang.Enum.create (Enum.java:262)
at libcore.util.BasicLruCache.get (BasicLruCache.java:58)
at java.lang.Enum.getSharedConstants (Enum.java:289)
at java.lang.Class.getEnumConstantsShared (Class.java:2424)
at java.util.EnumSet.getUniverse (EnumSet.java:407)
at java.util.EnumSet.noneOf (EnumSet.java:109)
at java.util.EnumSet.of (EnumSet.java:235)
at io.grpc.okhttp.OkHttpChannelBuilder.<clinit> (OkHttpChannelBuilder.java:91)
at io.grpc.okhttp.OkHttpChannelBuilder.forTarget (OkHttpChannelBuilder.java)
at io.grpc.okhttp.OkHttpChannelProvider.builderForTarget (OkHttpChannelProvider.java)
at io.grpc.okhttp.OkHttpChannelProvider.builderForTarget (OkHttpChannelProvider.java)
at io.grpc.ManagedChannelBuilder.forTarget (ManagedChannelBuilder.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.initChannel (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.lambda$initChannelTask (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.lambda$initChannelTask$GrpcCallProvider (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.-$$Lambda$GrpcCallProvider$SCD5iiibQ8l4haiO8ofSfE0wIJg.call (-.java:2)
at com.google.android.gms.tasks.zzz.run (zzz.java:4)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=] (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=]$ThrottledForwardingExecutor (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.-$$Lambda$ThrottledForwardingExecutor$MfIJbVuxZtLwosAgPzPA-cU66Ko.run (-.java:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:764)
Caused by: java.lang.NoSuchMethodException:
at java.lang.Class.getMethod (Class.java:2069)
at java.lang.Class.getDeclaredMethod (Class.java:2047)
at java.lang.Enum.create (Enum.java:268)
at java.lang.Enum.create (Enum.java:262)
at libcore.util.BasicLruCache.get (BasicLruCache.java:58)
at java.lang.Enum.getSharedConstants (Enum.java:289)
at java.lang.Class.getEnumConstantsShared (Class.java:2424)
at java.util.EnumSet.getUniverse (EnumSet.java:407)
at java.util.EnumSet.noneOf (EnumSet.java:109)
at java.util.EnumSet.of (EnumSet.java:235)
at io.grpc.okhttp.OkHttpChannelBuilder.<clinit> (OkHttpChannelBuilder.java:91)
at io.grpc.okhttp.OkHttpChannelBuilder.forTarget (OkHttpChannelBuilder.java)
at io.grpc.okhttp.OkHttpChannelProvider.builderForTarget (OkHttpChannelProvider.java)
at io.grpc.okhttp.OkHttpChannelProvider.builderForTarget (OkHttpChannelProvider.java)
at io.grpc.ManagedChannelBuilder.forTarget (ManagedChannelBuilder.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.initChannel (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.lambda$initChannelTask (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.GrpcCallProvider.lambda$initChannelTask$GrpcCallProvider (GrpcCallProvider.java)
at com.google.firebase.firestore.remote.-$$Lambda$GrpcCallProvider$SCD5iiibQ8l4haiO8ofSfE0wIJg.call (-.java:2)
at com.google.android.gms.tasks.zzz.run (zzz.java:4)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=] (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute[=13=]$ThrottledForwardingExecutor (ThrottledForwardingExecutor.java)
at com.google.firebase.firestore.util.-$$Lambda$ThrottledForwardingExecutor$MfIJbVuxZtLwosAgPzPA-cU66Ko.run (-.java:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:764)
如果我想打开 APK:
- 应用程序完美打开
- 黑屏
- 应用进入后台
备注:
如果我 运行 flutter run --release
应用程序可以完美打开,但它也显示错误:
Error: ADB exited with exit code 1
Performing Streamed Install
adb: failed to install C:\Users\Flutter\StudioProjects\nomadnet2\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.apps.social_circle signatures do not match previously installed version; ignoring!]
如果我 运行: flutter run
它完美地工作
我已经试过了:
- 升级包
- 重新安装flutter SDK
- 更新抖动
我也尝试了更多的东西,但我不认识了
请帮帮我!
尝试在
中删除您之前的 APKC:\Users\Flutter\StudioProjects\nomadnet2\build\app\outputs\flutter-apk\app.apk
然后使用命令
flutter clean
酒吧得到你的 pubspect.yaml
并再次尝试运行发布版本
删除之前在 phone 或模拟器中安装的应用程序,然后 运行 再次发布,可能是因为不同的签名密钥。
我遇到过类似的问题。 我所做的是:-
转到 phone 设置 -> 在应用程序部分下 -> 搜索应用程序名称 -> 为所有用户删除。 这适用于我的情况,试试吧:)
对我有用的解决方案是从头开始注册所有包
希望对您有所帮助!