java.lang.IllegalStateException: GoogleApiClient is not connected yet.

Stack Overflow | Parth Patel | 8 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

    Caused by: java.lang.IllegalStateException: GoogleApiClient is not connected yet

    Stack Overflow | 12 months ago | Kaleb
    java.lang.IllegalStateException: GoogleApiClient is not connected yet.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      GoogleApiClient is not connected yet.

      at com.google.android.gms.internal.zzoe.zzd()
    2. com.google.android
      zzc.signOut
      1. com.google.android.gms.internal.zzoe.zzd(Unknown Source)
      2. com.google.android.gms.internal.zzoh.zzd(Unknown Source)
      3. com.google.android.gms.internal.zzof.zzd(Unknown Source)
      4. com.google.android.gms.auth.api.signin.internal.zzc.signOut(Unknown Source)
      4 frames
    3. com.igov.design
      LoginActivity$2.onClick
      1. com.igov.design.LoginActivity.logOut(LoginActivity.java:159)
      2. com.igov.design.LoginActivity$2.onClick(LoginActivity.java:62)
      2 frames
    4. Android Platform
      View.performClick
      1. android.view.View.performClick(View.java:5198)
      1 frame
    5. com.igov.design
      MainActivity.onNavigationItemSelected
      1. com.igov.design.MainActivity.onNavigationItemSelected(MainActivity.java:101)
      1 frame
    6. android.support.design
      NavigationView$1.onMenuItemSelected
      1. android.support.design.widget.NavigationView$1.onMenuItemSelected(NavigationView.java:152)
      1 frame
    7. android.support.v7
      MenuBuilder.performItemAction
      1. android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:810)
      2. android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
      3. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:957)
      3 frames
    8. android.support.design
      NavigationMenuPresenter$1.onClick
      1. android.support.design.internal.NavigationMenuPresenter$1.onClick(NavigationMenuPresenter.java:318)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:5198)
      2. android.view.View$PerformClick.run(View.java:21147)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:148)
      6. android.app.ActivityThread.main(ActivityThread.java:5417)
      6 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames