Basic Firebase database save

后端 未结 2 939
庸人自扰
庸人自扰 2021-01-15 13:20

Anyone looking at this the below is the correct answer and I had everything setup correctly. I still dont no what the issue is. I was loggin in with facebook, using that to

2条回答
  •  迷失自我
    2021-01-15 14:20

    seems, i found the answer. It helps me!

    I have used before android studio version 1.5 And that's why (maybe not) but i could't upgrade required firebase libs to 9.0.2 All this time i have used 9.0.0

    So firstly i upgrade my android studio to updated stable version 2.2 and then update version of dependencies to next ones:

    compile 'com.google.firebase:firebase-core:9.0.2'
    compile 'com.google.firebase:firebase-auth:9.0.2'
    compile 'com.google.firebase:firebase-database:9.0.2'
    

    And now all values are saved to database from android app.

    So do two things: 1. update android studio to last stable version 2. update firebase required libs versions

    Hope this answer will help

提交回复
热议问题