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)

GitHub | samtstern | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 1

    GitHub comment 28#229178887

    GitHub | 11 months ago | samtstern
    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)

    Root Cause Analysis

    1. 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()
    2. com.firebase.geofire
      GeoFire.setLocation
      1. com.firebase.geofire.GeoFire.setLocation(GeoFire.java:178)
      2. com.firebase.geofire.GeoFire.setLocation(GeoFire.java:150)
      2 frames