I created a new project from scratch in android studio and tried connecting it to the firebase by following steps provided in help>firebase>database.
I got green checked for connecting app to firebase but I set up dependencies correctly . however I get setvalue method error.
I have attached a screenshot.
Capitalisation is very important.
myRef.setvalue("Hello World"); // this will not work
myRef.setValue("Hello World"); // this will work
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.