Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install an Android .APK using Python code?

Is there a way to programmatically install an Android .apk in Python?

Could you please show me how? I'm new to Python.

Thanks in advance.

like image 256
92AlanC Avatar asked Jul 21 '26 02:07

92AlanC


1 Answers

As @Swing mentioned in his comment, subprocess.call("adb install path-to-file.apk ") solves the issue.

like image 145
92AlanC Avatar answered Jul 22 '26 16:07

92AlanC