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

Stack Overflow | Giridhar | 5 months ago
  1. 0

    Firebase in Google app engine throwing noMethodFound error while initialization

    Stack Overflow | 5 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 | 1 month ago | Andrew Montague
    java.lang.NoSuchMethodError: com.google.api.client.json.gson.GsonFactory.getDefaultInstance()Lcom/google/api/client/json/gson/GsonFactory;
  3. 0

    googlecredential no such method error

    Stack Overflow | 2 years ago | user3638468
    java.lang.NoSuchMethodError: com.google.api.client.googleapis.auth.oauth2.GoogleCredential$Builder.getRefreshListeners()Ljava/util/List;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Google DrEdit example for Java won't work

    Stack Overflow | 3 years ago
    java.lang.NoSuchMethodError: com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets.load(Lcom/google/api/client/json/JsonFactory;Ljava/io/InputStream;)Lcom/google/api/client/googleapis/auth/oauth2/GoogleClientSecrets;

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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