【问题标题】:SurfaceFlinger: Failed to find layer FullScreenFragmentActivity in layer parent (no-parent)SurfaceFlinger:无法在图层父级(无父级)中找到图层 FullScreenFragmentActivity
【发布时间】:2018-02-13 10:21:03
【问题描述】:

我有一个BottomSheetFragmentActivity,其中causes this crash on Android 8.0 devices。我正在寻找一种解决方法,无需将 targetSDK 设置回 26。

我解决了这个as described here: 但这反过来又会导致

SurfaceFlinger:无法在层父级(无父级)中找到层 BottomSheetFragmentActivity#0。

有解决办法吗?

【问题讨论】:

  • 现在问题解决了吗?我也遇到这个问题
  • @Ralf Wickum - 你找到答案了吗?面临同样的问题。

标签: android android-fragments bottom-sheet android-fullscreen


【解决方案1】:

试试看:

Clean Project -> Rebuild Project

或者如果它不起作用

Invalidate Caches and Restart

为我工作。希望能帮助到你。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-11-14
    • 1970-01-01
    • 2020-01-21
    • 2018-08-04
    • 2013-08-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多