java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=9001, result=-1, data=Intent { (has extras) }} to activity {com.example.farheen_2.fbase/com.example.farheen_2.fbase.ui.login.LoginActivity}: java.lang.IllegalArgumentException: Must specify an idToken or an accessToken.

Stack Overflow | farheen | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Firebase Auth Google Sign In - Failure delivering result ResultInfo{who=null, request=9001, result=-1, data=Intent { (has extras) }} to activity

    Stack Overflow | 7 months ago | farheen
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=9001, result=-1, data=Intent { (has extras) }} to activity {com.example.farheen_2.fbase/com.example.farheen_2.fbase.ui.login.LoginActivity}: java.lang.IllegalArgumentException: Must specify an idToken or an accessToken.
  2. 0

    java.lang.IllegalArgumentException: Must specify an idToken or an accessToken

    Stack Overflow | 4 months ago | Shubh
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1002, result=-1, data=Intent { (has extras) }} to activity {com.clabs.codefosterapp/com.clabs.codefosterapp.SplashActivity}: java.lang.IllegalArgumentException: Must specify an idToken or an accessToken.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Must specify an idToken or an accessToken.

      at com.google.firebase.auth.GoogleAuthCredential.<init>()
    2. com.google.firebase
      GoogleAuthProvider.getCredential
      1. com.google.firebase.auth.GoogleAuthCredential.<init>(Unknown Source)
      2. com.google.firebase.auth.GoogleAuthProvider.getCredential(Unknown Source)
      2 frames
    3. com.example.farheen_2
      LoginActivity.onActivityResult
      1. com.example.farheen_2.fbase.ui.login.LoginActivity.firebaseAuthWithGoogle(LoginActivity.java:265)
      2. com.example.farheen_2.fbase.ui.login.LoginActivity.handleSignInResult(LoginActivity.java:248)
      3. com.example.farheen_2.fbase.ui.login.LoginActivity.onActivityResult(LoginActivity.java:237)
      3 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.dispatchActivityResult(Activity.java:6448)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:4003)
      3. android.app.ActivityThread.handleSendResult(ActivityThread.java:4050)
      4. android.app.ActivityThread.access$1400(ActivityThread.java:177)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1481)
      6. android.os.Handler.dispatchMessage(Handler.java:102)
      7. android.os.Looper.loop(Looper.java:135)
      8. android.app.ActivityThread.main(ActivityThread.java:5912)
      8 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
      2 frames