标签: android c++ linux
我正在尝试构建一个在android上运行的可执行文件elseif zi(jj)<zslope %below the slope (ground) Z(jj,ii)=NaN; 来创建一个具有root权限的/ data文件夹中的文件,但是我的代码一直返回null, 这是我的代码
elseif zi(jj)<zslope %below the slope (ground) Z(jj,ii)=NaN;
smtm
文件smtm的位置和输出是:
我不知道为什么即使在将uid和gid设置为零之后也无法创建文件,尽管在调用su之后它可以正常工作。