"Failed to parse APK file" happens for some Android real device with Appium 1.15.0
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C:\\Users\\wang\\Desktop\\appium\\androidsdk\\platform-tools\\adb.exe -P 5037 -s HBZ4FEYK shell pm install -g /data/local/tmp/appium_cache/3d97225b036c28750562ef8962defee6b1af19a4.apk' exited with code 1'; Stderr: ''; Code: '1'
然后,adb push =>安装失败,因为adb push错误,而adb安装成功。
但remoteAppsCacheLimit: 0只需从设备中删除现有的apk。
步骤“ adb push =>安装它”不变。
嗯...