无法解码流:android.graphics.ImageDecoder$DecodeException:无法创建带有消息'unimplemented'的图像解码器



我最近尝试将 Pusher 的聊天套件与一些 Kotlin 插件一起实现到我的 android 应用程序中,现在遇到了我无法解决的错误。

E/Drawable: Unable to decode stream: android.graphics.ImageDecoder$DecodeException: Failed to create image decoder with message 'unimplemented'Input contained an error.

我在它下面得到的错误是:

E/FirebaseInstanceId: Token retrieval failed: SERVICE_NOT_AVAILABLE

这是通过扔我循环,因为我的互联网工作正常,尽管再往下几行,我得到:

W/Firestore: (21.3.0) [OnlineStateTracker]: Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
Process 15216 terminated.

注意:自从我需要出去以来,我开始在咖啡馆而不是在家里工作以来,我开始收到关于没有良好联系的错误。为了离线工作,Firebase 要求我选择进入离线模式,从那以后我一直收到无法连接的通知。

我正在关注这里的入门页面,并已完成"显示消息"部分的末尾,但是当我转到活动时,它只是停滞并空白。在过去的 2 天里,我一直在搜索 StackO 和网络的其他部分,试图解决冲突,但无济于事。我看过的所有类似帖子似乎都不能解决这个问题。

类似帖子#1,但我不想保存到位图

以下是整个堆栈跟踪:

E/Drawable: Unable to decode stream: android.graphics.ImageDecoder$DecodeException: Failed to create image decoder with message 'unimplemented'Input contained an error.
E/FirebaseInstanceId: Token retrieval failed: SERVICE_NOT_AVAILABLE
W/DynamiteModule: Local module descriptor class for providerinstaller not found.
I/DynamiteModule: Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
I/ghborsbookshel: The ClassLoaderContext is a special shared library.
I/chatty: uid=10086(com.example.android_myneighborsbookshelf) AsyncTask #2 identical 1 line
I/ghborsbookshel: The ClassLoaderContext is a special shared library.
V/NativeCrypto: Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods...
W/ghborsbookshel: Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (light greylist, reflection)
I/ProviderInstaller: Installed default security provider GmsCore_OpenSSL
W/Firestore: (21.3.0) [OnlineStateTracker]: Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
Process 15216 terminated.

除了无法解码流错误之外,它似乎已经修复了自己,但它不会崩溃,它只是显示在日志中。

我检查了更新,清理,重建,使缓存失效并重新启动,并关闭了模拟器。我还完全重新启动了我的计算机 2 倍,这似乎已经修复了它。