Sometimes my app crash, it shows - preview crashed. So I have to find the reason manually.
So I'm looking for a solution If I can get the reason why my preview crashed, as we get the reason in android studio why the app stopped working(in the run log menu).