1

我最近尝试将 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 要求我选择离线模式,从那以后我一直收到无法连接的通知。

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

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.
4

1 回答 1

2

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

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

于 2019-12-12T15:06:52.717 回答