java.lang.NoSuchMethodError: No virtual method setValue(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/firebase/tasks/Task; in class Lcom/google/firebase/database/DatabaseReference; or its super classes (declaration of 'com.google.firebase.database.DatabaseReference' appears in /data/data/com.google.firebase.example.pageslist/files/instant-run/dex/slice-com.google.firebase-firebase-database-9.0.2_cf1a3e9008757a5e1cc475db32fed25d0175f77f-classes.dex)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by samtstern
, 1 year ago
No virtual method setValue(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/firebase/tasks/Task; in class Lcom/google/firebase/database/DatabaseReference; or its super classes (declaration of 'com.google.firebase.database.DatabaseReference' appears
java.lang.NoSuchMethodError: No virtual method setValue(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/firebase/tasks/Task; in class Lcom/google/firebase/database/DatabaseReference; or its super classes (declaration of 'com.google.firebase.database.DatabaseReference' appears in /data/data/com.google.firebase.example.pageslist/files/instant-run/dex/slice-com.google.firebase-firebase-database-9.0.2_cf1a3e9008757a5e1cc475db32fed25d0175f77f-classes.dex)
at com.firebase.geofire.GeoFire.setLocation(GeoFire.java:178)
at com.firebase.geofire.GeoFire.setLocation(GeoFire.java:150)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.