HarmonyOS NEXT.0.0.26\(SP8DEVC00E29R4P6log\)命令行像系统沙盒里推文件,会遇到permission denied?

参考的这篇文档

https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/app-sandbox-directory-V5

使用devstudio的图形化界面,直接upload也是不行

1、命令行像系统沙盒里推文件,会遇到permission denied

向cache目录推送

hdc file send hello_cube@1_0_0_0.zip /data/app/el2/100/base/com.mpaas.myapplication/cache
[Fail]Error opening file: permission denied, path:/data/app/el2/100/base/com.mpaas.myapplication/cache/hello_cube@1_0_0_0.zip

向安装包目录推送

hdc file send hello_cube@1_0_0_0.zip /data/app/el1/bundle/public/com.mpaas.myapplication/
[Fail]Error opening file: permission denied, path:/data/app/el1/bundle/public/com.mpaas.myapplication/a

2、使用devstudio的图形化界面,直接upload也是不行

阅读 462
logo
HarmonyOS
子站问答
访问
宣传栏