Firebase DatabaseException: Failed to convert value of type java.lang.Long to String

前端 未结 7 1174
挽巷
挽巷 2020-12-01 14:50

com.google.firebase.database.DatabaseException: Failed to convert value of type java.lang.Long to String

is the error I keep getting w

7条回答
  •  臣服心动
    2020-12-01 15:45

    Edit all the DB entries by adding double quote like "phone" : "900000000" and it will solve the problem, so e.g.:

    "phone" : 900000000
    "name" : "xxxx",
    "password" : 111111
    

    changed to:

    "phone" : "900000000",
    "name" : "xxxx",
    "password" : "111111"
    

提交回复
热议问题