Making .apk file with pymongodb, python and google colab

i have used pymongo in my Python coded programming , the entire program is pasted below

from pymongo import MongoClient
from kivy.app import App
from kivy.uix.label import Label
from kivy.uix.gridlayout import GridLayout
from kivy.uix.textinput import TextInput
from kivy.uix.button import Button

db_handle = “mongodb+srv://kcpcloudempn:XXXXXX@clusterempnofity.tsmpp4p.mongodb.net/test”
db_client = MongoClient(db_handle)
DB_NAME = db_client[‘db_notify’]
DATA_COLLECTION = DB_NAME[‘data_emp_notify’]

class MainApp(App):
def build(self):
self.layout = GridLayout(cols=1, row_force_default=True,row_default_height=50,)
submit = Button(text=“InBox”, on_press=self.submit)
self.layout.add_widget(submit)
return self.layout

def submit(self, obj):
    emp_document = DATA_COLLECTION.find()
    self.layout.clear_widgets()

    for doc in emp_document:  
        print(doc['empn'], doc['mobile'], doc['message'], doc['msg_ent_dttm'])
        self.empn = TextInput(text=str(doc['empn']))
        self.mobile_no = TextInput(text=str(doc['mobile']))
        self.message = TextInput(text=str(doc['message']))

        self.layout.add_widget(self.empn)
        self.layout.add_widget(self.mobile_no)
        self.layout.add_widget(self.message)
    return self.layout

MainApp().run()

this is running very fine on desktop, when convert this program into .apk file using google colab the app is crashing,.

Please help with solution or with suitable references.

I was facing same problem with my apk website. Thank you for this guidance.