Search code examples
androidpythonapkandroid-install-apk

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.


Solution

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