1

尝试通过 android 应用程序登录 facebook 时,我在 logcat 中收到此错误。

我可以看到有什么问题。

10-28 22:33:57.950: E/ActivityThread(28413): Service 

com.facebook.katana.platform.PlatformService 泄露了 ServiceConnection com.facebook.fbservice.ops.DefaultBlueServiceOperationFactory$DefaultOperation$BlueServiceConnection@4307e1d8 最初绑定在这里 10-28 22:33:57.950: E/ActivityThread(28413): android. app.ServiceConnectionLeaked:服务 com.facebook.katana.platform.PlatformService 已泄露 ServiceConnection com.facebook.fbservice.ops.DefaultBlueServiceOperationFactory$DefaultOperation$BlueServiceConnection@4307e1d8 最初绑定在这里 10-28 22:33:57.950: E/ActivityThread( 28413): 在 android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:965) 10-28 22:33:57.950: E/ActivityThread(28413): 在 android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:859) 10-28 22:33:57.950:E/ActivityThread(28413):在 android.app.ContextImpl。bindService(ContextImpl.java:1270) 10-28 22:33:57.950: E/ActivityThread(28413): 在 android.app.ContextImpl.bindService(ContextImpl.java:1262) 10-28 22:33:57.950: E/ ActivityThread(28413): 在 android.content.ContextWrapper.bindService(ContextWrapper.java:394) 10-28 22:33:57.950: E/ActivityThread(28413): 在 com.facebook.fbservice.ops.DefaultBlueServiceOperationFactory$DefaultOperation.i (DefaultBlueServiceOperationFactory.java:461) 10-28 22:33:57.950: E/ActivityThread(28413): at com.facebook.fbservice.ops.DefaultBlueServiceOperationFactory$DefaultOperation.a(DefaultBlueServiceOperationFactory.java:419) 10-28 22:33 :57.950: E/ActivityThread(28413): at com.facebook.katana.platform.PlatformService.a(PlatformService.java:184) 10-28 22:33:57.950: E/ActivityThread(28413): at com.facebook。 katana.platform.PlatformService。a(PlatformService.java:36) 10-28 22:33:57.950: E/ActivityThread(28413): at com.facebook.katana.platform.PlatformService$MessageHandler.handleMessage(PlatformService.java:71) 10-28 22: 33:57.950: E/ActivityThread(28413): 在 android.os.Handler.dispatchMessage(Handler.java:99) 10-28 22:33:57.950: E/ActivityThread(28413): 在 android.os.Looper.loop (Looper.java:137) 10-28 22:33:57.950: E/ActivityThread(28413): 在 android.app.ActivityThread.main(ActivityThread.java:4904) 10-28 22:33:57.950: E/ActivityThread (28413): 在 java.lang.reflect.Method.invokeNative(Native Method) 10-28 22:33:57.950: E/ActivityThread(28413): 在 java.lang.reflect.Method.invoke(Method.java:511 ) 10-28 22:33:57.950: E/ActivityThread(28413): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790) 10-28 22:33:57.950:E/ActivityThread(28413): 在 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557) 10-28 22:33:57.950: E/ActivityThread(28413): 在 dalvik.system.NativeStart.main (本机方法)10-28 22:33:58.060:E/Trace(12883):打开跟踪文件时出错:没有这样的文件或目录 (2) 10-28 22:33:58.991:E/XTWiFi(468):[ MessageQ] ProcessNewMessage: [XTWiFi-CS] 未知交付目标 [OS-Agent] 10-28 22:34:00.903: E/WifiStateMachine(726): Fetch RSSI NEW RSSI = -46 10-28 22:34:00.983: E /XTWiFi(468): [MessageQ] ProcessNewMessage: [XTWiFi-PE] 未知交付目标 [OS-Agent] 10-28 22:34:03.917: E/WifiStateMachine(726): Fetch RSSI NEW RSSI = -44 10-28 22:34:03.987:E/XTWiFi(468):[MessageQ] ProcessNewMessage:[XTWiFi-CS]未知交付目标[OS-Agent] 10-28 22:34:06.930:E/WifiStateMachine(726):获取 RSSI 新 RSSI = -46 10-28 22:34:08.992: E/XTWiFi(468): [MessageQ] ProcessNewMessage: [XTWiFi-CS] 未知交付目标 [OS-Agent] 10-28 22:34:09.943: E/WifiStateMachine(726): 获取 RSSI 新 RSSI = -46 10-28 22:34:12.956: E/WifiStateMachine(726): 获取 RSSI 新 RSSI = -46 10-28 22:34:13.987: E/XTWiFi( 468): [MessageQ] ProcessNewMessage: [XTWiFi-CS] 未知的交付目标 [OS-Agent] 10-28 22:34:15.979: E/WifiStateMachine(726): Fetch RSSI NEW RSSI = -46 10-28 22:34 :18.993: E/WifiStateMachine(726): Fetch RSSI NEW RSSI = -46 10-28 22:34:18.993: E/XTWiFi(468): [MessageQ] ProcessNewMessage: [XTWiFi-CS] 未知交付目标 [OS-Agent ] 10-28 22:34:21.996:E/WifiStateMachine(726):获取 RSSI 新 RSSI = -42 10-28 22:34:23.417:E/ActivityThread(28413):服务 com.facebook.katana.platform。PlatformService 已泄露 ServiceConnection com.facebook.fbservice.ops.DefaultBlueServiceOperationFactory$DefaultOperation$BlueServiceConnection@432251f8 最初绑定在这里 10-28 22:34:23.417: E/ActivityThread(28413): android.app.ServiceConnectionLeaked: Service com.facebook .katana.platform.PlatformService 泄露了 ServiceConnection com.facebook.fbservice.ops.DefaultBlueServiceOperationFactory$DefaultOperation$BlueServiceConnection@432251f8 最初绑定在这里 10-28 22:34:23.417: E/ActivityThread(28413): at android.app。 LoadedApk$ServiceDispatcher.(LoadedApk.java:965) 10-28 22:34:23.417: E/ActivityThread(28413): 在 android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:859) 10-28 22:34:23.417 : E/ActivityThread(28413): 在 android.app.ContextImpl.bindService(ContextImpl.java:1270) 10-28 22:34:23.417: E/ActivityThread(28413): 在 android.app.ContextImpl.bindService(ContextImpl.java:1262) 10-28 22:34:23.417: E/ActivityThread(28413): 在android.content.ContextWrapper.bindService(ContextWrapper.java:394) 10-28 22:34:23.417: E/ActivityThread(28413): at com.facebook.fbservice.ops.DefaultBlueServiceOperationFactory$DefaultOperation.i(DefaultBlueServiceOperationFactory.java:461 ) 10-28 22:34:23.417: E/ActivityThread(28413): at com.facebook.fbservice.ops.DefaultBlueServiceOperationFactory$DefaultOperation.a(DefaultBlueServiceOperationFactory.java:419) 10-28 22:34:23.417: E/ActivityThread (28413): 在 com.facebook.katana.platform.PlatformService.a(PlatformService.java:184) 10-28 22:34:23.417: E/ActivityThread(28413): 在 com.facebook.katana.platform.PlatformService。一个(平台服务.java:36) 10-28 22:34:23.417: E/ActivityThread(28413): at com.facebook.katana.platform.PlatformService$MessageHandler.handleMessage(PlatformService.java:71) 10-28 22:34:23.417: E/ ActivityThread(28413): 在 android.os.Handler.dispatchMessage(Handler.java:99) 10-28 22:34:23.417: E/ActivityThread(28413): 在 android.os.Looper.loop(Looper.java:137 ) 10-28 22:34:23.417: E/ActivityThread(28413): 在 android.app.ActivityThread.main(ActivityThread.java:4904) 10-28 22:34:23.417: E/ActivityThread(28413): 在 java .lang.reflect.Method.invokeNative(Native Method) 10-28 22:34:23.417: E/ActivityThread(28413): at java.lang.reflect.Method.invoke(Method.java:511) 10-28 22: 34:23.417: E/ActivityThread(28413): 在 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790) 10-28 22:34:23.417: E/ActivityThread(28413):在 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557) 10-28 22:34:23.417: E/ActivityThread(28413): 在 dalvik.system.NativeStart.main(Native Method) 10-28 22:34:23.477:E/Trace(12961):打开跟踪文件时出错:没有这样的文件或目录 (2)

这个也是....

    10-29 18:36:05.110: E/AndroidRuntime(8367): FATAL EXCEPTION: main
10-29 18:36:05.110: E/AndroidRuntime(8367): java.lang.Error: FATAL EXCEPTION [main]
10-29 18:36:05.110: E/AndroidRuntime(8367): Unity version     : 4.2.1f4
10-29 18:36:05.110: E/AndroidRuntime(8367): Device model      : LGE VS930 4G
10-29 18:36:05.110: E/AndroidRuntime(8367): Device fingerprint: verizon_lge/d1lv_VZW_US/d1lv:4.1.2/JZO54K/VS93022A.1376984517:user/release-keys
10-29 18:36:05.110: E/AndroidRuntime(8367): Caused by: java.lang.RuntimeException: Unable to resume activity {com.motorcity3d.splitting8s/com.facebook.unity.FBUnityPlayerActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=64206, result=0, data=null} to activity {com.motorcity3d.splitting8s/com.facebook.unity.FBUnityPlayerActivity}: java.lang.NullPointerException
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2596)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2624)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2110)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.app.ActivityThread.access$600(ActivityThread.java:137)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1203)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.os.Handler.dispatchMessage(Handler.java:99)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.os.Looper.loop(Looper.java:137)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.app.ActivityThread.main(ActivityThread.java:4904)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at java.lang.reflect.Method.invokeNative(Native Method)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at java.lang.reflect.Method.invoke(Method.java:511)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at dalvik.system.NativeStart.main(Native Method)
10-29 18:36:05.110: E/AndroidRuntime(8367): Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=64206, result=0, data=null} to activity {com.blah.bleh/com.facebook.unity.FBUnityPlayerActivity}: java.lang.NullPointerException
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.app.ActivityThread.deliverResults(ActivityThread.java:3193)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2583)
10-29 18:36:05.110: E/AndroidRuntime(8367):     ... 12 more
10-29 18:36:05.110: E/AndroidRuntime(8367): Caused by: java.lang.NullPointerException
10-29 18:36:05.110: E/AndroidRuntime(8367):     at com.facebook.unity.FBUnityPlayerActivity.onActivityResult(FBUnityPlayerActivity.java:15)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.app.Activity.dispatchActivityResult(Activity.java:5432)
10-29 18:36:05.110: E/AndroidRuntime(8367):     at android.app.ActivityThread.deliverResults(ActivityThread.java:3189)
10-29 18:36:05.110: E/AndroidRuntime(8367):     ... 13 more
4

1 回答 1

0

通过仅在登录调用中使用“publish_actions”修复了此问题。现在可以在 Galaxy S3 上使用。

于 2013-11-09T14:15:05.287 回答