英文:
Unknown Firebase Service Crash in Android
问题
我在代码中几乎没有做任何更改,但是今天在我设备上运行我的应用程序时,它抛出了一个异常,并且没有从Firebase数据库中获取我的数据。我在StackOverflow和Github上查找了错误,以下是我访问过的链接:
- https://github.com/libgdx/gdx-pay/issues/114
- https://stackoverflow.com/questions/55510223/firebaseremoteconfig-error-no-value-of-type-string-exists-for-parameter-key
- https://stackoverflow.com/questions/54603283/firebase-remote-config-fetch-failed-with-user-not-authorized
日志
W/ConnectionTracker: Exception thrown while unbinding
java.lang.IllegalArgumentException: Service not registered: tin@934894f
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
E/FirebaseInstanceId: binding to the service failed
依赖
implementation 'com.google.firebase:firebase-analytics:17.4.2'
implementation 'com.google.firebase:firebase-firestore:21.4.3'
implementation 'com.google.firebase:firebase-auth:19.3.1'
如果您需要更多来自Logcat的数据,或者想要查看我的任何代码,请在评论中提出。谢谢!
英文:
I had made little to no changes in my code but today, as soon as I ran my app on my device, it gave an exception, and did not fetch my data from my Firebase database. I looked up the error on StackOverflow and Github, these are the links I have visited
<https://github.com/libgdx/gdx-pay/issues/114>
<https://stackoverflow.com/questions/55510223/firebaseremoteconfig-error-no-value-of-type-string-exists-for-parameter-key>
<https://stackoverflow.com/questions/54603283/firebase-remote-config-fetch-failed-with-user-not-authorized>
Log
W/ConnectionTracker: Exception thrown while unbinding
java.lang.IllegalArgumentException: Service not registered: tin@934894f
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
E/FirebaseInstanceId: binding to the service failed
Dependencies
implementation 'com.google.firebase:firebase-analytics:17.4.2'
implementation 'com.google.firebase:firebase-firestore:21.4.3'
implementation 'com.google.firebase:firebase-auth:19.3.1'
Comment if you want more data from the Logcat or if you want to see any of my code.
Thank you!
专注分享java语言的经验与见解,让所有开发者获益!
评论