我最近尝试在我的android应用程序中实现Pusher的Chatkit,以及一些Kotlin插件,现在遇到了这个我无法解决的错误。
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和其他网站上搜索,试图解决这个冲突,但都无济于事。我看过的所有类似的帖子似乎都不能解决这个问题。
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.发布于 2019-12-12 23:06:53
它似乎已经修复了自己,除了无法解码流错误,但它没有崩溃,它只是显示在日志中。
我检查了更新,清理,重建,使缓存失效,重新启动,并关闭了我的模拟器。我也完全重启了我的电脑两倍,这似乎已经修复了它。
https://stackoverflow.com/questions/59297560
复制相似问题