问题
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