How is speedtest-cli packaged together with a mobile app such that it works from a mobile device?
I'm using speedtetst-cli for internet testing in my app, its working properly on the desktop but cryshes the app after installation on the mobile device with adb-tool log error that says:
lds/python3/arm64-v8a__ndk_target_21/python3/Lib/subprocess.py", line 1847, in _execute_child
08-16 09:53:34.976 30140 30207 I python : FileNotFoundError: [Errno 2] No such file or directory: 'speedtest-cli'
When packaging the app i included speedtest-cli in the buildozer.specs requirements thinking it'll get installed:
Here are the class & function that use it, what am i doing wrong and what is the right way of going about it or if there is a better tool and easier tool to use please suggest it to me:

import subprocess
class SpeedTesting(Screen):
def on_enter(self, *args):
# This method is automatically called when the SpeedTesting screen is entered
self.internetSpeed()
def internetSpeed(self):
# Show loading messages and activate the spinner
self.ids.download_speed_label.text = "Testing Download Speed..."
self.ids.upload_speed_label.text = "Testing Upload Speed..."
self.ids.spinner.active = True
# Run the speed test asynchronously using subprocess.Popen
self.proc = subprocess.Popen(['speedtest-cli', '--json'], stdout=subprocess.PIPE, text=True)
Clock.schedule_interval(self.check_speedtest_complete, 0.1)