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 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://”
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)
return self.layout

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

    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']))

    return self.layout


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.