Android App Stuck on White Blank Screen, looks like it's Facebook Android SDK 4.36.0 Issue

旧巷老猫 提交于 2021-02-06 09:30:08

问题


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

I also updated the Facebook SDK with latest one Facebook Android SDK 4.36.0 which seems updated on 29th August 2018.

If I removed the Facebook SDK, it works properly but not with it.

Need some help!


回答1:


"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.

So, 4.35.0 fixes that problem, as does removing all the Facebook code.




回答2:


Change to version 4.35.0

implementation 'com.facebook.android:facebook-android-sdk:4.35.0'


来源:https://stackoverflow.com/questions/52161288/android-app-stuck-on-white-blank-screen-looks-like-its-facebook-android-sdk-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!