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)

Solutions on the web11659

  • via GitHub by samtstern
    , 9 months 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
  • No virtual method zziy(Ljava/lang/String;)V in class Lcom/google/firebase/iid/FirebaseInstanceId; or its super classes (declaration of 'com.google.firebase.iid.FirebaseInstanceId' appears in /data/data/com.investtech.investtechapp/files/instant-run/dex/slice-com.google.firebase-firebase-iid-9.2.0_a300e98a7381697885c689d4ec2d85303577e5e3-classes.dex)
  • No static method zzaaj()Lcom/google/firebase/iid/zzg; in class Lcom/google/firebase/iid/zzg; or its super classes (declaration of 'com.google.firebase.iid.zzg' appears in /data/data/com.sarazeef.teaoria/files/instant-run/dex/slice-com.google.firebase-firebase-iid-10.2.0_d53622db8f96b7ec4a26866e04f3b40994f5004d-classes.dex)
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.