Currently, the adb client .install_apk() method assumes that the provided file path points to a valid APK file. However, no validation is performed before attempting installation. This can lead to unclear errors if the user accidentally provides an incorrect file type (e.g., .zip, .txt).
Currently, the adb client .install_apk() method assumes that the provided file path points to a valid APK file. However, no validation is performed before attempting installation. This can lead to unclear errors if the user accidentally provides an incorrect file type (e.g., .zip, .txt).