Firebase Db component is causing errors and bugs

When I used firebase Db and exported the apk and installed, I a am getting an error your app has bugs or the app it getting crashed, and when I remove firebase component and bulid the apk, then the app does not crash, I am having this issue only on Firebase components.
Can anyone please help?

Please download and post each of those event block(s)/procedures here ...
P.S. These blocks can be dragged directly into your Blocks Editor workspace.

See Download Block Images for a demo.