命令执行返回"force stop process successfully"时候stop流程还没有走完,接下来马上执行hdc shell start出现拉不起应用的情况 解决方案:同步的,可以参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/aa-tool-V5\#ZH-CN\_TOPIC\_0000001930676049\_\_force-stop 有用 回复 撰写回答 你尚未...
17、强制退出应用 命令:hdc_std shell aa force-stop [BundleName] 举例:hdc_std shell aa force-stop com.superred.reminder 18、查看当前任务栈的ability信息(后台启动的应用) 命令:hdc_std shell aa dump -l 19、截图 命令: hdc_std shell snapshot_display -f /data/screenshot.png hdc_std shell fil...
命令:hdc_std shell aa force-stop [BundleName] 举例:hdc_std shell aa force-stop com.superred.reminder 18、查看当前任务栈的ability信息(后台启动的应用) 命令:hdc_std shell aa dump -l 19、截图 命令: hdc_std shell snapshot_display -f /data/screenshot.png hdc_std shell file recv /data/scr...
hdc_std shell kill -9 【pid】 举例,杀掉464进程 hdc_std shell kill -9 464 25.查看设备SN号 hdc_std shell param getohos.boot.sn 26.查看当前设备上的HAP包的Bundle Name hdc_std shell bm dump -a 也可通过wukong命令:wukong appinfo 27.结束应用 hdc shell aa force-stop 【Bundle Name】 28....
hdc shell aa force-stop {bundleName} 其中bundleName可以通过hdc shell bm dump -a获取 获取应用版本 $ hdc shell bm dump -n {bundleName} 执行上述命令后,再解析 json, 提取versionName字段即可 Dump 应用信息 aa dump $ hdc shell aa dump -h usage: aa dump <options> options list: -h, -...
hdc shell bm get --udid 1. 9、杀掉hdc进程,类似adb kill-server hdc kill 1. 10、重启hdc hdc start -r 1. 11、重启设备 hdc shell reboot 1. 12、启动Ability hdc shell aa start -b 包名 -a Ability名称 hdc shell aa start -b ohos.samples.FormApplication -a ohos.samples.FormApplication....
17、hdc shell aa 其他操作 强制退出应用 hdc shell aa force-stop ohos.samples.FormApplication 查看当前任务栈的ability 信息 hdc shell aa dump-l hdc shell aa 其他操作 help list available commands start start abilitywithoptions stop-service stop servicewithoptions dump dump the ability info force-sto...
$ hdc shell am force-stop com.css.umetrip $ hdc shell bm uninstall com.css.umetrip $ hdc file send D:\Download\Umetrip\Umetrip\entry\build\outputs\hap\debug\entry-debug-rich-signed.hap $ hdc shell bm install -p /sdcard/58fc49336c4c4ed885aa12074498e153/ ...
hdc_std shell aa force-stop 【Bundle Name】# 例如hdc_std shell aa force-stop com.example.myapplication 1. 2. 3. 复制 Dump应用信息(bm命令) hdc_std shell bm dump...# -h, --help list available commands# -a, --all list all bundles in system# -n, --bundle-name <bundle-name> lis...
应用包名查看方法:hdc\_std shell aa dump -a(打开应用后查看bundle name) 手动杀掉某一应用进程(不支持杀掉常驻进程,如桌面):hdc shell aa force-stop 应用包名 设置手机永不灭屏:power-shell setmode 602(进入hdc shell) 获取读写权限:hdc target mount ...