[Andriod] E/com.facebook.internal.AttributionIdentifiers: getAttributionIdentifiers should not be called from the main thread

使用新的版本(4.36.0) facebook API 會造成 android 8.1.x app 執行發生錯誤,並造成程式變成白色畫面:

App was running fine till 1 hour back. Suddenly it started getting stuck at the opening and shows 1 line error message in logcat

08-31 15:57:54.924 31700-31700/? E/com.facebook.internal.AttributionIdentifiers: getAttributionIdentifiers should not be called from the main thread

That’s the only log being shown. There were no changes happened on app

this one worked for me

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

相關文章

寫留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *