How can I execute all the possible unix(shell) commands in android programmatically? Android can't exec rm –r 照以上链接所示方式在Android环境中执行rm删除命令,还是无效:换用java File.delete仍然无效. 经过若干天尝试,发现是SElinux开启导致,需要adb shell setenforce 0(要root权限)关掉才可以执行以上删除命令.详见android se
Android截图命令screencap 查看帮助命令 bixiaopeng@bixiaopeng ~$ adb shell screencap -v screencap: invalid option -- v usage: screencap [-hp] [-d display-id] [FILENAME] -h: this message -p: save the file as a png. -d: specify the display id to capture, default 0