1.hdc shell aa start [-p <perf-cmd>] [-D] [-S] [-N]这四个是什么含义? 2.hdc shell aa start支不支持自定义参数,可以修改Want的parameters、uri、action等,如何处理? 1 浏览47 发布于2025-03-03 02:41广东 全部评论 最多点赞 最新发布 最早发布 杨 1.-p性能调优;-D可选参数,调试模式;...
把aa命令一整串用双引号引起来就没问题 hdc shell "aa start -a EntryAbility -b com.sankuai.hxxx_beta -D -U 'ixxx://www.xxx.com/msc?appId=app_1706597697298&checkUpdateUrl=https://s3plus.xxx.com/v1/mss_2044229a1b824dbe990c4a549a07bfec/msc-fe-internal/checkUpdate/c0441787779a7feafa9e0...
参数设置,比如隐式拉起用参考以下写法:hdc shell aa start -A ohos.want.action.viewData -e ent...
可以通过aa工具传递自定义参数,在onCreate时通过want获取自定义参数,存储在LocalStorage中,在onWindowStageCreate时获取LocalStorage中的参数值,传递给windowStage.loadContent。 命令行执行hdc shell aa start -a EntryAbility -b com.example.myapplication --ps targetPage pages/Page1这里通过aa工具的--ps参数,传递ke...
[BundleName] -d 举例:hdc shell bm clean -n com.archermind.web -d 16、启动指定应用命令:hdc shell aa start -a EntryAbility -b 包名举例: hdc shell aa start -a EntryAbility -b com.archermind.web 17、强制退出应用命令:hdc shell aa force-stop [BundleName] 举例:hdc shell aa force-stop ...
问答首页 hdc shell aa start拉起应用时怎么传参135***71 | OpenHarmony hdc shell aa start拉起应用时怎么传参 使用aa命令中的 --ps ,怎么拉起应用时传递want参数: hdc shell aa start -a floatServiceAbility -b ohos.wdgs.float --ps info test123 4 浏览...
hdc_std shell kill -9 464 25.查看设备SN号 hdc_std shell param get 26.查看当前设备上的HAP包的Bundle Name hdc_std shell bm dump -a 也可通过wukong命令:wukong appinfo 27.结束应用 hdc shell aa force-stop 【Bundle Name】 28.启动应用 hdc_std shell aa start -a 【Ability Name】 -b 【Bun...
D:\>hdc_std shell aa start -a com.example.ohhelloworld.MainAbility -b com.example.ohhelloworld start ability successfully. 1. 2. 复制 -a 后面是Ability的完整名字 -b 后面是Bundle的完整名字 查看日志 D:\>hdc_std hilog 1. 复制 重新挂载/vendor和/system分区为可读写 ...
hdc shell aa start -a {abilityName} -b {bundleName} 其中bundleName可以通过hdc shell bm dump -a获取 其中abilityName可以通过如下命令获取(查看当前任务栈的ability信息) $ hdc shell aa dump -l#运行命令前需要手动打开appUser ID#100current mission lists:{ ...
D:\>hdc_std shell aa start -a com.example.ohhelloworld.MainAbility -b com.example.ohhelloworld start ability successfully. -a 后面是Ability的完整名字-b 后面是Bundle的完整名字 查看日志 D:\>hdc_std hilog 重新挂载/vendor和/system分区为可读写 D:\>hdc_std target mount Mount finish 重新启动hdc...