Logcat输出文件的-f 参数

harkue 2013-09-05 05:48:27
在调用Logcat的时候,使用-f 参数一直出错。

adb logcat -d -f D:\log.log

adb logcat -d -f \data\data\{app dir}\log.log

都是出现
couldn't open output file: Read-only file system

有什么解决办法?
...全文
599 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
harkue 2013-11-04
  • 打赏
  • 举报
回复
引用 6 楼 guoyoulei520 的回复:
[quote=引用 5 楼 harkue 的回复:] [quote=引用 4 楼 guoyoulei520 的回复:] [quote=引用 3 楼 harkue 的回复:] [quote=引用 2 楼 guoyoulei520 的回复:] 你是在$还是在#输的
在$下~[/quote] 没权限,你换个eng版本测试吧[/quote] adb shell 登录进去root权限,也不行[/quote] 用法好像不对 adb logcat -d -f data/log.log(后面是机器里面的目录) adb logcat -f > D:\log.log 这个是导到电脑里面[/quote] 按照你说的方法试了下 adb logcat -d -f /data/log.log 有文件生成~ adb logcat -f > D:\log.log 这个是导到电脑里面 这个命令不成功~
凉凉二点凉 2013-10-22
  • 打赏
  • 举报
回复
引用 5 楼 harkue 的回复:
[quote=引用 4 楼 guoyoulei520 的回复:] [quote=引用 3 楼 harkue 的回复:] [quote=引用 2 楼 guoyoulei520 的回复:] 你是在$还是在#输的
在$下~[/quote] 没权限,你换个eng版本测试吧[/quote] adb shell 登录进去root权限,也不行[/quote] 用法好像不对 adb logcat -d -f data/log.log(后面是机器里面的目录) adb logcat -f > D:\log.log 这个是导到电脑里面
harkue 2013-10-22
  • 打赏
  • 举报
回复
引用 4 楼 guoyoulei520 的回复:
[quote=引用 3 楼 harkue 的回复:] [quote=引用 2 楼 guoyoulei520 的回复:] 你是在$还是在#输的
在$下~[/quote] 没权限,你换个eng版本测试吧[/quote] adb shell 登录进去root权限,也不行
凉凉二点凉 2013-09-06
  • 打赏
  • 举报
回复
引用 3 楼 harkue 的回复:
[quote=引用 2 楼 guoyoulei520 的回复:] 你是在$还是在#输的
在$下~[/quote] 没权限,你换个eng版本测试吧
harkue 2013-09-06
  • 打赏
  • 举报
回复
引用 2 楼 guoyoulei520 的回复:
你是在$还是在#输的
在$下~
凉凉二点凉 2013-09-06
  • 打赏
  • 举报
回复
你是在$还是在#输的
passself 2013-09-05
  • 打赏
  • 举报
回复
把系统重新挂载一下,adb remount,然后再进入其中

80,362

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧