正在运行的android应用程序的自动截图捕获应用商店承诺 [英] Automatic screenshot capture of the running android application for app store commitment

查看:30
本文介绍了正在运行的android应用程序的自动截图捕获应用商店承诺的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经批量生成了很多apk安装包,需要提交到android应用商店.由于应用商店要求我提供3~4张正在运行的应用的截图,我不想手动做.所以我正在尝试使用一些自动化脚本.经过一番研究,我得到了支持 JPython 的 MIT sikuli UI 交互式编程 IDE.

I've batchly generated a lot of apk install package, and I need to commit them to the android app store. Since the app store requires me to provide 3~4 pictures of the screenshot for the running application, and I don't wanna do this manually. So I'm trying to use some automation script. After some research I get the MIT sikuli UI interactive programming IDE which supports JPython.

我遇到的问题是我需要卸载我以前安装的应用程序,否则安装过程将失败并显示INSTALL_FAILED_INSUFFICIENT_STORAGE"错误.我认为最好的方法是在命令行中运行卸载,问题来了.生成的批处理 apk 的包名称都以相同的标记开头,比如说com.abc.efg",而与一些次要数字不同,例如com.abc.efg_123_353"或com.abc.efg_134_324",所以我正在转向一些诸如adb uninstall com.abc.efg*"之类的通配符解决方案,但adb"之类的命令集似乎不支持通配符.有什么线索吗?

The problem I got is that I need to uninstall my previously installed app or the installation process would fail with the "INSTALL_FAILED_INSUFFICIENT_STORAGE" error. I think the best way would be to run the uninstallation in the command line, and here comes the problem. The package name of the generated batched apks all starts with some same token, let's say "com.abc.efg", while differs with some minor numbers like "com.abc.efg_123_353" or "com.abc.efg_134_324", so I'm turning to some wild-char solution like "adb uninstall com.abc.efg*", but wild-char seems not be supported with the "adb" like command set. Any clue for this?

推荐答案

我用一个小技巧解决了这个问题.我保留了之前安装的postfix包,每次需要安装一个新的,我只需要调用adb uninstall"来删除之前安装的apk.至于命令行中android设备(模拟器)的截图,here是某个人的解决方案.

I've solved this with little trick. I preserve the previous installed package postfix, and every time I need to install a new one, I just call "adb uninstall" to remove the previous installed apk. As to the screenshot for the android device(emulator) in the command line, here is the solution by some guy.

这篇关于正在运行的android应用程序的自动截图捕获应用商店承诺的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆