开机启动无法抓到挂掉的log

来源:互联网 发布:评价网络调查的方法 编辑:程序博客网 时间:2024/05/29 16:16

修改android的code:init.xx.rc

在它的后面加上

servicelogcat /system/bin/logcat -f /data/logcat.txt

classmain

oneshot

0 0
原创粉丝点击