Error ' Binary XML file line #35 in android:layout/progress_dialog: Binary XML file line #35 in android:layout/progress_dialog: Error inflating class <unknown> ' What is this

Well I was doing one of my school project, and suddenly an error showed when I'm formatting the layout.
The error is ' Binary XML file line #35 in android:layout/progress_dialog: Binary XML file line #35 in android:layout/progress_dialog: Error inflating class '
seconds after this error the companion just crashed
Anyone know what is this error? I need to make sure it won't occor again or I will be in a big mess if it happen again.

No idea. You just tell us the error without showing what you were doing when the error occurred. Provide details, screenshots, block images, designer info, development environment....

I did absolute nothing and it suddenlt give out this error

Is this repeatable?

It looks like you are doing something with a progress dialog....

I couldn't repeat it afterward, but Im worried somehow it happened again at the time it shouldn't

Well, without more information from you, this is difficult to progress.