无法解码流:android.graphics.ImageDecoder $ DecodeException:无法创建带有消息“未实现”的图像解码器

时间:2019-12-12 04:06:48

标签: android firebase google-cloud-firestore pusher chatkit

我最近尝试将Pusher的Chatkit与一些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要求我加入offline mode,此后我一直收到有关无法连接的通知。

我将跟随入门页面here,并且已经完成了“显示消息”部分的结尾,但是当我进入活动时,它停顿了一下,一片空白。在过去的两天里,我一直在搜索StackO和Web的其余部分,以尝试解决冲突而无济于事。我看过的所有类似帖子似乎都无法解决问题。

similarPost#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.

1 个答案:

答案 0 :(得分:0)

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

我检查了更新,清理,重建,无效的缓存并重新启动,然后关闭了模拟器。我还完全将计算机重新启动了2次,这似乎已经解决了问题。