When i install a apk file app has an error

i developed application from this, i it is taking data from firebase. when i use AI companion totally application work. but i create apk file and try to open the app. but app has an bug massage. when i remove firebase application working. how can i solve this

Show us.