- hdc shell后接引号包含要运行的hilog命令查看运行日志 hdc shell "hilog -v color -T Ace" - 将日志信息保存到文件,注意,此处日志文件是在电脑中的。 hdc shell "hilog -v color -T Ace | grep keyword1 | grep keyword2" > D:\record.log # 日志信息会被保存到文件D:\record.log - 保存日志信...
设备端日志 开启hilog日志工具,获取对应日志,命令如下: //开启hilog日志落盘hdc shell hilog -w start//查看已落盘hilog日志hdc shell ls /data/log/hilog//获取hilog已落盘日志(包含内核日志)hdc file recv /data/log/hilog 常见问题 设备无法识别 现象描述 命令行执行hdc list targets命令后,返回结果为[...
hilog | grep “TAG” 截图 snapshot_display -i 0 查看某个包名 ps -ef | grep xxx xxx是进程名 杀某应用进程 hdc shell ps 查看所有进程 hdc shell kill 进程号id 校验MD5 文件 md5sum updater.zip 电源休眠模式 601 标准 602 不休眠 power-shell setmode 602 查看应用签名 hdc shell “bm dump -n ...
# 日志命令:hdc_std shell hilog -h# 查看有的能力# 获取手机日志并保存到XX目录中hdc_std shell hilog -r# 清除历史日志记录hdc_std shell hilog>D:/HiLog/HiLog.log# 实时打印日志并存放到某个目录下# 按Ctrl+C键,停止日志实时记录。# 其他常用可选操作hdc_std shell hilog -Q pidoff# 关闭设备端...
hdc shell命令是否支持schema uri模拟跳转 是否可以通过ApplicationContext启动UIAbility 使用hdc命令安装release HAP包到设备时上报“INSTALL_FAILED_APP_SOURCE_NOT_TRUSTED”错误 如何通过路由跳转到一个只有页面没有UIAbility的模块 如何查询应用包的名称、供应商、版本号、版本文本、安装时间、更新时间描述信息 如...
hilog | grep “TAG” 截图 snapshot_display -i 0 查看某个包名 ps -ef | grep xxx xxx是进程名 杀某应用进程 hdc shell ps 查看所有进程 hdc shell kill 进程号id 校验MD5 文件 md5sum updater.zip 电源休眠模式 601 标准 602 不休眠 power-shell setmode 602 ...
3.1 获取全部日志 hdc_std shell hilog 1.复制 3.2 清除全部日志 hdc_std shell hilog -r ...
$ hdc shell param get const.product.software.version ALN-AL00 5.0.0.22(SP35DEVC00E22R4P1log) OS版本 $ hdc shell param get const.ohos.apiversion 12 CPU架构 $ hdc shell param get const.product.cpu.abilist arm64-v8a 分辩率 $ hdc shell hidumper -s RenderService -a screen ...
$ hdc shell hidumper -s DisplayManagerService -a -a 通过上面的查看屏幕信息命令,通过正则提取ScreenRotation字段即可,ScreenRotation有四个值: 0:未旋转 90:顺时针旋转90度 180:顺时针旋转180度 270:顺时针旋转270度 备注:目前旋转状态只能查看,不支持设置 ...
$ hdc shell param get const.product.software.version ALN-AL00 5.0.0.22(SP35DEVC00E22R4P1log) OS版本 $ hdc shell param get const.ohos.apiversion 12 CPU架构 $ hdc shell param get const.product.cpu.abilist arm64-v8a 分辩率 $ hdc shell hidumper -s RenderService -a screen ---[ability...