Android 7.0 手机系统下,在应用程序中执行shell命令“cat /proc/[pid]/stat”([pid]是某个具体的进程号)出错:FileNotFoundException: /proc/[pid]/stat: open failed : ENOENT (No such file or directory)。
但是在cmd中可以查看到该文件时确实存在的。在低版本的系统中不会报错。
不知道是什么原因,求大神解疑答惑。
http://blog.csdn.net/cybertan/article/details/7596633
是不是权限限制,不允许你访问