diff --git a/uiautomator/__init__.py b/uiautomator/__init__.py index 2b72b04..6a9e13d 100644 --- a/uiautomator/__init__.py +++ b/uiautomator/__init__.py @@ -402,7 +402,7 @@ def push(self): def install(self): base_dir = os.path.dirname(__file__) for apk in self.__apk_files: - self.adb.cmd("install", "-rt", os.path.join(base_dir, apk)).wait() + self.adb.cmd("install", "-r -t", os.path.join(base_dir, apk)).wait() @property def jsonrpc(self):