facebook-sdk-for-unity icon indicating copy to clipboard operation
facebook-sdk-for-unity copied to clipboard

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

Open aceloq opened this issue 5 years ago • 6 comments

Checklist

Environment

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

  • Unity Editor Version: 2018.4.16f
  • Unity SDK Version: 7.19.0
  • Installation Platform & Verison: [Android] version X.X.X

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)

aceloq avatar Mar 24 '20 23:03 aceloq

I have the same issue

Khaled-Wolf avatar Jul 01 '20 14:07 Khaled-Wolf

Same on 8.0.0

ikitae avatar Oct 16 '20 06:10 ikitae

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 avatar Dec 08 '20 02:12 takaaptech

image

takaaptech avatar Dec 08 '20 02:12 takaaptech

The problem still continues.

Unity Editor Version: 2018.4.30f

Facebook Unity SDK Version: 9.0.0

aceloq avatar Jan 28 '21 23:01 aceloq

Yes I also still have the same issue

Khaled-Wolf avatar Jan 29 '21 12:01 Khaled-Wolf