/data/tombstone何在?

该文件详细记录了代码崩溃时候的具体信息,包括了崩溃的堆栈,如果能够获取到该信息,就可以通知堆栈了解崩溃点的信息,但是一般情况下,我们看不到该文件。


当我们发现/data目录为空的情况下,实际上表示我们没有root访问权限,(root是最高级的访问权限,而不是启动的时候的访问文件的权限,这个权限需要对android手机进行权限进行破解)

引文:

If/data appears empty, the app showing that most likely has no root access("root" in the sense of the privileged user, not the start of thefile system). In order to browse that place, root is required.

 

Notall file explorers support this. For one, there are several specific "rootexplorers" around. I'd rather recommend ES File Explorer, which I use foryears: it offers a lot of features you will welcome after solving your issue �Cand yes, "root access" is one of them. Provided your device isrooted.

 

Andyes: what you're looking for is /data/tombstones, where "core dumps"of crashes are stored.


你可能感兴趣的:(android,debug,tombstone)