def view_package_path(self, package: str) -> _PATH:
        '''Print the path to the APK of the given.'''
        if package not in self.view_packgets_list():
            raise NoSuchPackageException(
                f'There is no such package {package!r}.')
        output, _ = self._execute(
            '-s', self.device_sn, 'shell', 'pm', 'path', package)
        return output[8:-1]
def view_package_path ( self , package : str ) -> _PATH : if package not in self . view_packgets_list ( ) : raise NoSuchPackageException ( f'There is no such package {package!r}.' ) output , _ = self . _execute ( '-s' , self . device_sn , 'shell' , 'pm' , 'path' , package ) return output [ 8 : - 1 ]
Print the path to the APK of the given.