Facebook连接不会显示Facebook页面

时间:2011-08-25 10:57:01

标签: java android eclipse logcat

我有一个名为mobisoft的网站上的facebook应用程序。我导入项目并根据网络的说法做所有事情。我的项目没有错误,我正常运行它。但是当应用程序运行时它没有显示Facebook页面。 这是日志猫

08-25 16:56:20.597: INFO/System.out(337): waiting for debugger to settle...
08-25 16:56:20.807: INFO/System.out(337): waiting for debugger to settle...
08-25 16:56:20.807: DEBUG/MediaScannerService(261): done scanning volume external
08-25 16:56:21.028: INFO/System.out(337): waiting for debugger to settle...
08-25 16:56:21.232: INFO/System.out(337): debugger has settled (1393)
08-25 16:56:21.697: DEBUG/dalvikvm(337): threadid=1: still suspended after undo (sc=1 dc=1)
08-25 16:56:23.307: INFO/ActivityManager(68): Displayed com.android.launcher/com.android.launcher2.Launcher: +35s490ms
08-25 16:56:28.064: WARN/ActivityManager(68): Launch timeout has expired, giving up wake lock!
08-25 16:56:28.739: WARN/ActivityManager(68): Activity idle timeout for HistoryRecord{40540af8 com.codecarpet.fbconnect.sample/.MainActivity}
08-25 17:01:01.288: DEBUG/SntpClient(68): request time failed: java.net.SocketException: Address family not supported by protocol
08-25 17:01:56.547: INFO/InputReader(68): Device reconfigured: id=0x0, name=qwerty2, display size is now 480x800
08-25 17:01:56.547: INFO/InputManager-Callbacks(68): No virtual keys found for device qwerty2.
08-25 17:01:57.057: INFO/ARMAssembler(68): generated scanline__00000077:03515104_00001004_00000000 [ 65 ipp] (85 ins) at [0x445ed520:0x445ed674] in 960759 ns
08-25 17:01:57.127: INFO/ARMAssembler(68): generated scanline__00000177:03515104_00001001_00000000 [ 91 ipp] (114 ins) at [0x445ed678:0x445ed840] in 632898 ns
08-25 17:06:01.337: DEBUG/SntpClient(68): request time failed: java.net.SocketException: Address family not supported by protocol
08-25 17:11:01.363: DEBUG/SntpClient(68): request time failed: java.net.SocketException: Address family not supported by protocol
08-25 17:16:01.407: DEBUG/SntpClient(68): request time failed: java.net.SocketException: Address family not supported by protocol
08-25 17:18:05.437: DEBUG/FBSession(337): FBUserId = 0
08-25 17:18:41.369: INFO/ActivityManager(68): Displayed com.codecarpet.fbconnect.sample/.MainActivity: +22m23s181ms
08-25 17:18:41.518: INFO/ARMAssembler(68): generated scanline__00000177:03515104_00001002_00000000 [ 87 ipp] (110 ins) at [0x445ed848:0x445eda00] in 530195 ns
08-25 17:21:01.449: DEBUG/SntpClient(68): request time failed: java.net.SocketException: Address family not supported by protocol

提前致谢

1 个答案:

答案 0 :(得分:0)

最近我们的一个应用程序在生产中爆发,因为Facebook在他们的API中改变了一些东西,但暂时没有更新Facebook for Android SDK。

您的应用可能正在使用此SDK。如果是,您将需要调试SDK,如果不是,那么也许您可以尝试使用它。

Facebook for Android SDK有一个Github存储库,例如我们遇到的错误是https://github.com/facebook/facebook-android-sdk/pull/218。您可能会发现Github用户已经找到了您的问题,但如果您确实正在使用它,则需要调试SDK。