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

Stack Overflow | Giridhar | 8 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. 0

    Firebase in Google app engine throwing noMethodFound error while initialization

    Stack Overflow | 8 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 | 4 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