小编jit*_*ten的帖子

如何从Android设备获取android应用程序traces.txt文件

我想从Android设备获取我的应用程序traces.txt文件.我检查了谷歌中的很多链接,但仍未获得成功.如果有人有任何想法,请帮助我.我也查看以下链接. 如何访问android文件/data/anr/traces.txt和/ data/tombstones/tombstones 如何找到这个堆栈跟踪?

我也在尝试这个.adb -s 0123456789ABCDEF shell#<<<这将为您的设备打开一个shell

ps | grep com.package.name # This will list some info about the running         instance of your app
# Output should be something like: 
# u0_a7    18941 173   869348 26040 ffffffff 00000000 S    com.package.name
# Important is the PID (number in the second column), in this case 18941.

# Now send the SIGQUIT to your process, please change '18941' to your PID
run-as com.package.name kill -3 18941

# Now Android should have created …
Run Code Online (Sandbox Code Playgroud)

android

7
推荐指数
2
解决办法
2万
查看次数

标签 统计

android ×1