java.lang.NoSuchMethodError: com.google.api.client.googleapis.auth.oauth2.GoogleCredential.fromStream(....)

Stack Overflow | Giridhar | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Firebase in Google app engine throwing noMethodFound error while initialization

    Stack Overflow | 6 months ago | Giridhar
    java.lang.NoSuchMethodError: com.google.api.client.googleapis.auth.oauth2.GoogleCredential.fromStream(....)
  2. 0

    Using Firebase Admin in a Java desktop application (using Eclipse)

    Stack Overflow | 2 months ago | Andrew Montague
    java.lang.NoSuchMethodError: com.google.api.client.json.gson.GsonFactory.getDefaultInstance()Lcom/google/api/client/json/gson/GsonFactory;

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.google.api.client.googleapis.auth.oauth2.GoogleCredential.fromStream(....)

      at com.google.firebase.FirebaseOptions$Builder.setServiceAccount()
    2. com.google.firebase
      FirebaseOptions$Builder.setServiceAccount
      1. com.google.firebase.FirebaseOptions$Builder.setServiceAccount(FirebaseOptions.java:77)
      1 frame