签署的apk崩溃与Facebook登录 [英] Signed apk crashes with facebook login
问题描述
AndroidRuntime:致命异常:主要
com.facebook.aq: com.facebook.cf得到了一个意想不到的方法签名:public abstract com.facebook.cc com.facebook.cca(java.lang.Class)
但是,它工作正常第二次尝试登录。我正在使用Facebook-android-sdk-3.6.0。
我也在这里检查过 - 使用散列键时,Android Facebook应用程序崩溃,但没有找到任何解决方案。
有人遇到同样的问题,请帮助我排除上述问题。
我想你正在使用proguard。 Facebook SDK源是开放的。不需要混淆它们。我们将此规则添加到我们的proguard.cfg文件中:-keep class com.facebook。** {*; }
My Signed apk crashes first time on facebook login with this error:
AndroidRuntime: FATAL Exception: main
com.facebook.aq: com.facebook.c.f got an unexpected method signature: public abstract com.facebook.c.c com.facebook.c.c.a(java.lang.Class)
However, it works fine with 2nd attempt login. I am using Facebook-android-sdk-3.6.0.
I've checked here too - Android Facebook application crashes when using a hash key other than the debug hash key, but didn't find any solution.
Do anyone faced the same issue, please help me in sorting out the above problem.
I guess you're using proguard. Facebook SDK sources are open. No need to obfuscate them. We added this rule to our proguard.cfg file: -keep class com.facebook.** { *; }
这篇关于签署的apk崩溃与Facebook登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!