把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 EntryAbility -b com.tencent.wechat hdc shell aa force-stop com.tencent.wechat 4、截图并下载 命令:(注真机只能以jpeg为后缀,貌似只能放在/data/local/tmp/下) hdc shell snapshot_display -f /data/local/tmp/screenshot.jpeg hdc shell file recv/data/local/tmp/screenshot....
hdc shell命令是否支持schema uri模拟跳转 是否可以通过ApplicationContext启动UIAbility 使用hdc命令安装release HAP包到设备时上报“INSTALL_FAILED_APP_SOURCE_NOT_TRUSTED”错误 如何查询应用包的名称、供应商、版本号、版本文本、安装时间、更新时间描述信息 如何安装打包出来的App包(通过什么命令安装) 如何判断应...
输入命令hdc_std shell aa start -a AbilityName -b bundleName -m moduleName 如何修改开发板中文件...
可以通过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...
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 pm uninstall com.example.myapp 1. 复制 启动应用 语法:hdc shell aa start -d <ability_name> 示例:启动应用程序的能力: hdc shell aa start -d "com.example.myapp.MainAbility" 1. 复制 其他命令 使用hdc help 可以查看所有可用命令的帮助信息。 使用hdc...
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 shell mount -o rw,remount 第二步,可能目标目录只读,更换其他可读写目录尝试一下 >hdc file send d:\ohtest.hap /data/ FileTransfer finish, Size:xxx time:86ms rate:xxxkB/s 3.从开发板拷贝文件到PC失败 >hdc file recv /data/tmp/entry-debug-standard-ark-signed.hap d:\ ...
hdc shell aa start -a <UIAbility Name> -b <Bundle Name> If the ability is started, "start ability successfully." is returned; otherwise, the error message "error: failed to start ability." and the corresponding error information are returned. Refer to the sample code below. hdc shell aa...