Android上的Firebase突然无法正常工作 [英] Firebase on Android suddenly not working
问题描述
此人与我有类似的问题 Firebase因为android突然无法在我的测试设备中工作,但从未得到答复,评论中的人似乎也有类似的问题.
This person has a similar issue to me Firebase for android not working in my test device suddenly but it was never answered, and the people in the comments seem to have a similar issue.
我可以使用nodejs访问(和更新)firebase中的值,但是当我尝试从android进行操作时,logcat或任何内容都没有失败,它只是不更新数据库中的任何内容.
I can access (and update) values in my firebase using nodejs but when I try to do it from android, there are no failures in logcat or anything, it just does not update anything in the database.
我检查了数据库引用,它与我的nodejs脚本中的引用完全相同,并且我的安全性设置为read: true
,write: true
....昨天相同的代码工作正常.
I checked the database reference and it's exactly the same as in my nodejs script, and my security settings are read: true
, write: true
... It just doesn't make sense why it's not working anymore. The exact same code was working fine yesterday.
有人知道会发生什么吗?
Does anyone know what could be going on?
推荐答案
在自己身上花费了HOURS之后-革命性的解决方案是退出模拟器,然后重新打开模拟器/重新启动设备.
After spending HOURS on this myself - the revolutionary solution is to quit the emulator and reopen it again / restart your device.
这篇关于Android上的Firebase突然无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!