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可选参数,调试模式;...
1.hdc shell aa start [-p <perf-cmd>] [-D] [-S] [-N]这四个-没有教程,不知道有什么效果,如何使用 2.hdc shell aa start支不支持自定义参数,可以修改Want的parameters、uri、action等。如果不支持,有规划没 1 浏览178 发布于2024-10-17 02:28广东 全部评论 最多点赞 最新发布 最早发布 我...
把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 reboot 1. 12、启动Ability hdc shell aa start -b 包名 -a Ability名称 hdc shell aa start -b ohos.samples.FormApplication -a ohos.samples.FormApplication.MainAbility 1. 2. 3. 13、多设备操作 hdc list targets 查看设备后 hdc -t 设备 shell hdc -t 7001005458323933328a250f004e3900 ...
[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 ...
可以通过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...
参数设置,比如隐式拉起用参考以下写法:hdc shell aa start -A ohos.want.action.viewData -e ...
命令:hdc_std shell bm clean -n [BundleName] -d 举例:hdc_std shell bm clean -ncom.archermind.web-d 16、启动指定应用 命令:hdc shell aa start -a EntryAbility -b 包名 举例: hdc_std shell aa start -a EntryAbility -bcom.archermind.web ...
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...