Outsmash / little-fluffy-location-library

Automatically exported from code.google.com/p/little-fluffy-location-library
0 stars 0 forks source link

Not connected. Call connect() and wait for onConnected() to be called. using the trunk version. #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I'm testing last versión of your library, the one using google play services.

I get the next exception:

E/AndroidRuntime(14034): java.lang.IllegalStateException: Not connected. Call 
connect() and wait for onConnected() to be called.

E/AndroidRuntime(14034):    at com.google.android.gms.internal.dw.bP(Unknown 
Source)

E/AndroidRuntime(14034):    at com.google.android.gms.internal.gn.a(Unknown 
Source)

E/AndroidRuntime(14034):    at com.google.android.gms.internal.gn$c.bP(Unknown 
Source)

E/AndroidRuntime(14034):    at 
com.google.android.gms.internal.gm.removeLocationUpdates(Unknown Source)

E/AndroidRuntime(14034):    at 
com.google.android.gms.internal.gn.removeLocationUpdates(Unknown Source)

E/AndroidRuntime(14034):    at 
com.google.android.gms.location.LocationClient.removeLocationUpdates(Unknown 
Source)

E/AndroidRuntime(14034):    at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService.onLoca
tionChanged(LocationBroadcastService.java:288)

E/AndroidRuntime(14034):    at 
com.google.android.gms.internal.gm$a.handleMessage(Unknown Source)

E/AndroidRuntime(14034):    at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime(14034):    at android.os.Looper.loop(Looper.java:153)

E/AndroidRuntime(14034):    at 
android.app.ActivityThread.main(ActivityThread.java:5299)

E/AndroidRuntime(14034):    at java.lang.reflect.Method.invokeNative(Native 
Method)

E/AndroidRuntime(14034):    at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime(14034):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)

E/AndroidRuntime(14034):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)

E/AndroidRuntime(14034):    at dalvik.system.NativeStart.main(Native Method)

W/ActivityManager(  511):   Force finishing activity 
es.iws.easymant/.ui.dayjobs.DayJobsActivity

Can you look at it?

Thanks.

Original issue reported on code.google.com by druida...@gmail.com on 10 Mar 2014 at 2:21

GoogleCodeExporter commented 9 years ago
As stated in the description, don't use it. It's crammed full of bugs. Revert 
to v15.

Original comment by ken...@kentonprice.com on 10 Mar 2014 at 2:22