def download_apk(self, path='<STR_LIT:.>'):
apk_fd, apk_fn = tempfile.mkstemp(prefix='<STR_LIT>', suffix='<STR_LIT>')<EOL>os.close(apk_fd)<EOL>try:<EOL><INDENT>_download_url(self.artifact_url('<STR_LIT>'), apk_fn)<EOL>shutil.copy(apk_fn, os.path.join(path, '<STR_LIT>'))<EOL><DEDENT>finally:<EOL><INDENT>os.unlink(apk_fn)<EOL><DEDENT>
Download Android .apk

@type path:
@param path: