我正在使用Firebase制作Android应用.这些是造成问题的线条:
dependencies {
compile 'com.google.firebase:firebase-core:10.0.1'
compile 'com.google.firebase:firebase-auth:10.0.1'
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
Google Play services out of date. Requires 10084000 but found 9879470.
Run Code Online (Sandbox Code Playgroud)
我在模拟器上运行应用程序.似乎无法在模拟器上更新GPS,因为它没有Google Play商店.
在SDK Manager中,它说Google Player服务的版本是38.
没有明显的方法来更新它.
如何确定Firebase数据库节点是否没有子节点?似乎获取数据的唯一方法是使用侦听器,并且只有在添加或删除某些内容时才会触发.换句话说,如果没有孩子,什么都不会发生.