Firebase Authentication using Google fails below Android Lollipop -


i have app stores data on firebase , needs authentication (google) same. login seems work on other devices, when try login nexus 7 fails.

after research found suggestions , tried updating firebase app settings, adding new sha , downloading latest google-services.json nothing seems work. below log.

java.lang.runtimeexception: failure delivering result resultinfo{who=null, request=9001, result=0, data=null} activity {com.culminanttech.carmate/com.culminanttech.carmate.googlesigninactivity}:  java.lang.nullpointerexception @ android.app.activitythread.deliverresults(activitythread.java:3351) @ android.app.activitythread.handlesendresult(activitythread.java:3394) @ android.app.activitythread.access$1300(activitythread.java:135) @ android.app.activitythread$h.handlemessage(activitythread.java:1244) @ android.os.handler.dispatchmessage(handler.java:102) @ android.os.looper.loop(looper.java:136) @ android.app.activitythread.main(activitythread.java:5001) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:515) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:785) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:601) @ dalvik.system.nativestart.main(native method) caused by: java.lang.nullpointerexception @ com.culminanttech.carmate.googlesigninactivity.onactivityresult(googlesigninactivity.java:127) @ android.app.activity.dispatchactivityresult(activity.java:5423) @ android.app.activitythread.deliverresults(activitythread.java:3347)... 11 more java.lang.nullpointerexception @     com.culminanttech.carmate.googlesigninactivity.onactivityresult(googlesigninactivity.java:127) @ android.app.activity.dispatchactivityresult(activity.java:5423) @ android.app.activitythread.deliverresults(activitythread.java:3347) @ android.app.activitythread.handlesendresult(activitythread.java:3394) @ android.app.activitythread.access$1300(activitythread.java:135) @ android.app.activitythread$h.handlemessage(activitythread.java:1244) @ android.os.handler.dispatchmessage(handler.java:102) @ android.os.looper.loop(looper.java:136) @ android.app.activitythread.main(activitythread.java:5001) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:515) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:785) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:601) @ dalvik.system.nativestart.main(native method) 

edit: tried this example same crash.

2nd edit: after testing on devices realised seems work on lollipop , above only. wonder issue below lollipop. have play services?


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -