0

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.

screenshot

2
  • 3
    For future questions, be sure to include the code as text in your question. Screenshots of text are seldom useful and reduce your chances of getting an answer. Commented Jun 28, 2017 at 14:33
  • i'll keep that in mind Commented Jun 30, 2017 at 12:13

1 Answer 1

2

Capitalisation is very important.

myRef.setvalue("Hello World"); // this will not work
myRef.setValue("Hello World"); // this will work
Sign up to request clarification or add additional context in comments.

1 Comment

@sid.s please mark answer as correct for further reference.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.