我在这里放了一些堆栈跟踪:
Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null,request=1,result=0,data=null} to activity {me.robano.androID/com.Google.androID.gms.common.API.GoogleAPIActivity}: java.lang.NullPointerException at androID.app.ActivityThread.deliverResults(ActivityThread.java:3641) at androID.app.ActivityThread.handleSendResult(ActivityThread.java:3684) at androID.app.ActivityThread.access00(ActivityThread.java:166) at androID.app.ActivityThread$H.handleMessage(ActivityThread.java:1331) at androID.os.Handler.dispatchMessage(Handler.java:102) at androID.os.Looper.loop(Looper.java:136) at androID.app.ActivityThread.main(ActivityThread.java:5584) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:515) at com.androID.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268) at com.androID.internal.os.ZygoteInit.main(ZygoteInit.java:1084) at dalvik.system.NativeStart.main(NativeStart.java)Caused by java.lang.NullPointerException at com.Google.androID.gms.common.API.GoogleAPIActivity.zza(UnkNown Source) at com.Google.androID.gms.common.API.GoogleAPIActivity.onActivityResult(UnkNown Source) at androID.app.Activity.dispatchActivityResult(Activity.java:5634) at androID.app.ActivityThread.deliverResults(ActivityThread.java:3637) at androID.app.ActivityThread.handleSendResult(ActivityThread.java:3684) at androID.app.ActivityThread.access00(ActivityThread.java:166) at androID.app.ActivityThread$H.handleMessage(ActivityThread.java:1331) at androID.os.Handler.dispatchMessage(Handler.java:102) at androID.os.Looper.loop(Looper.java:136) at androID.app.ActivityThread.main(ActivityThread.java:5584) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:515) at com.androID.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268) at com.androID.internal.os.ZygoteInit.main(ZygoteInit.java:1084) at dalvik.system.NativeStart.main(NativeStart.java)
我也在我的应用程序中使用Google firebase.
请帮忙!
谢谢
可能是解决这个问题的唯一方法:
PackageManager pm = getPackageManager();pm.setComponentEnabledSetting(new Componentname(this,GoogleAPIActivity.class),PackageManager.COMPONENT_ENABLED_STATE_Disabled,PackageManager.DONT_KILL_APP);总结
以上是内存溢出为你收集整理的android – java.lang.NullPointerException at GoogleApiActivity全部内容,希望文章能够帮你解决android – java.lang.NullPointerException at GoogleApiActivity所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)