Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SurfaceFlinger: Failed to find layer FullScreenFragmentActivity in layer parent (no-parent)

I have a BottomSheetFragmentActivity which causes this crash on Android 8.0 devices. I am looking for a workaround, without setting targetSDK back to 26.

I solved this as described here: But this in turn causes

SurfaceFlinger: Failed to find layer BottomSheetFragmentActivity#0 in layer parent (no-parent).

Is there a solution?

like image 811
Ralf Wickum Avatar asked Feb 13 '18 10:02

Ralf Wickum


1 Answers

Try :

Clean Project -> Rebuild Project

or if it doesn't work

Invalidate Caches and Restart

Worked for me. Hope it helps.

like image 87
Akash Chauhan Avatar answered Oct 20 '22 03:10

Akash Chauhan