Facebook失败的Binder交易 - Hashkey或Bundle问题

时间:2015-01-06 20:35:45

标签: android facebook bundle

我无法使用多个测试人员通过Facebook集成来测试我的Android应用。我为自己生成了一个哈希键,我可以正确使用我的应用程序。但是当测试人员下载应用程序时,他们不会出现在应用程序Facebook好友列表中。调试后我注意到它在logcat中显示!!! Failed Binder Transaction !!! - 但是这个错误只发生在测试设备上,而不是我的设备上。

很多人都认为这是一个哈希问题。

每个测试人员都需要自己独特的Facebook密钥吗?或者他们可以使用我的哈希键测试我的应用程序吗?

我使用keytool命令行选项生成了hashkey。也许最好使用Facebook使用MainActivity中的代码生成哈希键的其他选项。建议?

其他用户表示,由于存在大小限制,因此将数据传递到捆绑包时可能会发生失败的Binder事务。我怀疑这可能是问题,因为我的调试中出现了!!! Failed Binder Transaction !!!

从这一点开始调试时

@Override
protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);
    uiHelper.onSaveInstanceState(outState);
}
到目前为止

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    uiHelper.onActivityResult(requestCode, resultCode, data);
}

很明显,在这些方面,我将数据传递到一个包中。

所以任何人都可以就如何摆脱Failed Binder Transaction向我提出建议。这与Hashkey或Bundle有关吗?或者可能是别的什么?

编辑 logcat

01-06 15:59:34.240: D/SELinux(29917): selinux_knoxprecontexthook:  Calling  selinux_knoxprecontexthook for uid: 10244 isSystemServer: 0 seinfo: default pkgname com.example.androidfb20
01-06 15:59:34.250: D/dalvikvm(29917): Late-enabling CheckJNI
01-06 15:59:34.400: D/AbsListView(29917): Get MotionRecognitionManager
01-06 15:59:34.440: D/dalvikvm(29917): GC_CONCURRENT freed 288K, 8% free 18465K/19900K, paused 4ms+2ms, total 19ms
01-06 15:59:34.440: D/dalvikvm(29917): WAIT_FOR_CONCURRENT_GC blocked 7ms
01-06 15:59:34.470: D/AbsListView(29917): onVisibilityChanged() is called, visibility : 8
01-06 15:59:34.470: D/AbsListView(29917): unregisterIRListener() is called 
01-06 15:59:34.470: D/AbsListView(29917): onVisibilityChanged() is called, visibility : 4
01-06 15:59:34.470: D/AbsListView(29917): unregisterIRListener() is called 
01-06 15:59:34.490: D/AbsListView(29917): onVisibilityChanged() is called, visibility : 0
01-06 15:59:34.490: D/AbsListView(29917): unregisterIRListener() is called 
01-06 15:59:34.500: D/AbsListView(29917): unregisterIRListener() is called 
01-06 15:59:34.550: D/libEGL(29917): loaded /system/lib/egl/libEGL_adreno200.so
01-06 15:59:34.550: D/libEGL(29917): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
01-06 15:59:34.560: D/libEGL(29917): loaded /system/lib/egl/libGLESv2_adreno200.so
01-06 15:59:34.560: I/Adreno200-EGL(29917): <qeglDrvAPI_eglInitialize:265>: EGL 1.4 QUALCOMM build:  (CL3544079)
01-06 15:59:34.560: I/Adreno200-EGL(29917): Build Date: 03/28/13 Thu
01-06 15:59:34.560: I/Adreno200-EGL(29917): Local Branch: adreno_20130328
01-06 15:59:34.560: I/Adreno200-EGL(29917): Remote Branch: 
01-06 15:59:34.560: I/Adreno200-EGL(29917): Local Patches: 
01-06 15:59:34.560: I/Adreno200-EGL(29917): Reconstruct Branch: 
01-06 15:59:34.640: D/OpenGLRenderer(29917): Enabling debug mode 0
01-06 15:59:34.791: D/AbsListView(29917): unregisterIRListener() is called 
01-06 15:59:41.707: D/GestureDetector(29917): [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 5 mFalseSizeCnt:0
01-06 15:59:41.847: D/ProgressBar(29917): setProgress = 0
01-06 15:59:41.847: D/ProgressBar(29917): setProgress = 0, fromUser = false
01-06 15:59:41.847: D/ProgressBar(29917): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
01-06 15:59:41.887: D/AbsListView(29917): unregisterIRListener() is called 
01-06 15:59:41.907: D/ProgressBar(29917): updateDrawableBounds: left = 0
01-06 15:59:41.907: D/ProgressBar(29917): updateDrawableBounds: top = 3
01-06 15:59:41.907: D/ProgressBar(29917): updateDrawableBounds: right = 144
01-06 15:59:41.907: D/ProgressBar(29917): updateDrawableBounds: bottom = 147
01-06 15:59:42.148: D/AbsListView(29917): onVisibilityChanged() is called, visibility : 4
01-06 15:59:42.148: D/AbsListView(29917): unregisterIRListener() is called 
01-06 15:59:42.318: E/JavaBinder(29917): !!! FAILED BINDER TRANSACTION !!!
01-06 15:59:42.358: D/AbsListView(29917): onVisibilityChanged() is called, visibility : 0
01-06 15:59:42.358: D/AbsListView(29917): unregisterIRListener() is called 
01-06 15:59:42.358: D/AbsListView(29917): onVisibilityChanged() is called, visibility : 0
01-06 15:59:42.358: D/AbsListView(29917): unregisterIRListener() is called 
01-06 15:59:42.358: I/endeffect(29917): AbsListView.onMeasure(), getWidth()=0, getHeight()=0, this=android.widget.ListView{4245b188 VFED.VC. .F....I. 0,0-0,0 #7f05006c app:id/selection_list}
01-06 15:59:42.398: D/dalvikvm(29917): GC_CONCURRENT freed 914K, 10% free 19520K/21580K, paused 5ms+2ms, total 38ms
01-06 15:59:42.408: D/dalvikvm(29917): WAIT_FOR_CONCURRENT_GC blocked 15ms
01-06 15:59:42.408: I/dalvikvm-heap(29917): Grow heap (frag case) to 20.331MB for 160016-byte allocation
01-06 15:59:42.438: D/dalvikvm(29917): GC_FOR_ALLOC freed 218K, 11% free 19458K/21740K, paused 29ms, total 29ms
01-06 15:59:42.468: D/dalvikvm(29917): GC_FOR_ALLOC freed 5K, 11% free 19452K/21740K, paused 33ms, total 35ms
01-06 15:59:42.478: I/dalvikvm-heap(29917): Grow heap (frag case) to 21.485MB for 1440016-byte allocation
01-06 15:59:42.498: D/dalvikvm(29917): GC_FOR_ALLOC freed 1K, 10% free 20857K/23148K, paused 22ms, total 22ms
01-06 15:59:42.508: D/AbsListView(29917): unregisterIRListener() is called 
01-06 15:59:42.508: I/endeffect(29917): AbsListView.onLayout(), getWidth()=960, getHeight()=240, this=android.widget.ListView{4245b188 VFED.VC. .F....ID 60,270-1020,510 #7f05006c app:id/selection_list}
01-06 15:59:42.648: D/AbsListView(29917): unregisterIRListener() is called 

由于

0 个答案:

没有答案