java.lang.RuntimeException: Unable to create service com.cctspl.geofenceex.GeoFenceObserversationService: java.lang.IllegalStateException: GoogleApiClient is not connected yet.

Stack Overflow | Dharma Raj | 7 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

    How to register a geofence on phone reboot?

    Stack Overflow | 7 months ago | Dharma Raj
    java.lang.RuntimeException: Unable to create service com.cctspl.geofenceex.GeoFenceObserversationService: 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.zzod.zzd()
    2. com.google.android
      zzf.addGeofences
      1. com.google.android.gms.internal.zzod.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.location.internal.zzf.addGeofences(Unknown Source)
      4 frames
    3. com.cctspl.geofenceex
      GeoFenceObserversationService.onCreate
      1. com.cctspl.geofenceex.GeoFenceObserversationService.addGeofences(GeoFenceObserversationService.java:130)
      2. com.cctspl.geofenceex.GeoFenceObserversationService.onCreate(GeoFenceObserversationService.java:50)
      2 frames
    4. Android Platform
      ActivityThread.handleCreateService
      1. android.app.ActivityThread.handleCreateService(ActivityThread.java:2586)
      1 frame