Android App卡在白色黑屏上,看起来像是Facebook Android SDK 4.36.0 Issue [英] Android App Stuck on White Blank Screen, looks like it's Facebook Android SDK 4.36.0 Issue
问题描述
几天前(直到2018年8月31日凌晨)一切都运行良好,突然该应用陷入白色空白屏幕.我做了一些调试和搜索.并发现我的应用程序甚至没有打开启动屏幕,而我在logcat中得到的只是: com.facebook.internal.AttributionIdentifiers:不应从主线程调用getAttributionIdentifiers
Everything was perfectly working few days ago(till 31st August 2018 morning), suddenly the app got stuck with white blank screen. I did some debug and search on it. And found that my app is not even opening splash screen and all I get in logcat is: com.facebook.internal.AttributionIdentifiers: getAttributionIdentifiers should not be called from the main thread
我还用最新的 ="a Facebook Android SDK更新了Facebook SDK.4.36.0 ,它似乎已于2018年8月29日更新.
I also updated the Facebook SDK with latest one Facebook Android SDK 4.36.0 which seems updated on 29th August 2018.
如果我删除了Facebook SDK,它可以正常运行,但不能正常运行.
If I removed the Facebook SDK, it works properly but not with it.
需要帮助!
推荐答案
编译'com.facebook.android:facebook-android-sdk:4.35.0'"不会给我白屏编译'com.facebook.android:facebook-android-sdk:4.36.0'确实给了我白屏.编译('com.facebook.android:facebook-android-sdk:[4,5)');"还给了我一个白色的屏幕,这是我使用了大约4个月的时间.
"compile 'com.facebook.android:facebook-android-sdk:4.35.0'" does not give me a white screen "compile 'com.facebook.android:facebook-android-sdk:4.36.0' does give me a white screen. "compile ('com.facebook.android:facebook-android-sdk:[4,5)');" also gives me a white screen, this is what I have been using for about 4 months.
因此,4.35.0可以解决该问题,删除所有Facebook代码也可以解决该问题.
So, 4.35.0 fixes that problem, as does removing all the Facebook code.
这篇关于Android App卡在白色黑屏上,看起来像是Facebook Android SDK 4.36.0 Issue的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!