facebook / facebook-sdk-for-unity

The facebook sdk for unity.
https://developers.facebook.com/docs/unity
Other
487 stars 256 forks source link

Google Play Console Crash Reports : java.lang.Error, com.android.internal.policy.PhoneWindow.generateLayout #419

Open aceloq opened 4 years ago

aceloq commented 4 years ago

Checklist

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

Goals

Resolving Crash Reports

Expected Results

Preventing Crashing Reports

Actual Results

Facebook SDK runs smoothly. But on Android 6.0 and below, some users have a crash problem. I tried the Facebook Unity SDK v7.18.1 and v7.19.0 versions. The result is the same.

Crash Report Example in Google Play Console :

java.lang.Error com.android.internal.policy.PhoneWindow.generateLayout

at com.android.internal.policy.PhoneWindow.generateLayout (PhoneWindow.java:4623) at com.android.internal.policy.PhoneWindow.installDecor (PhoneWindow.java:4692) at com.android.internal.policy.PhoneWindow.getDecorView (PhoneWindow.java:2271) at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4349) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3426) at android.app.ActivityThread.access$1100 (ActivityThread.java:229) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1821) at android.os.Handler.dispatchMessage (Handler.java:102) at android.os.Looper.loop (Looper.java:148) at android.app.ActivityThread.main (ActivityThread.java:7325) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)

Khaled-Wolf commented 4 years ago

I have the same issue

ikitae commented 3 years ago

Same on 8.0.0

takaaptech commented 3 years ago

Same on Android version 6.0. Please help and fix as it is a very big number of the crash on the console image

takaaptech commented 3 years ago

image

aceloq commented 3 years ago

The problem still continues.

Unity Editor Version: 2018.4.30f

Facebook Unity SDK Version: 9.0.0

Khaled-Wolf commented 3 years ago

Yes I also still have the same issue