Skip to content
Advertisement

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.

Advertisement

Answer

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

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement