Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我做了一份 Jenkins 工作来不断测试 Android Monkey。我的目的是找到异常的隐藏错误。我运行了 420 次,找不到任何错误。
有没有办法可以自动查找错误或异常并保存日志文件?
ADB 猴子生成崩溃日志到 STDERR。但是,有时它会转到 STDOUT。
因此,如果您同时检查 STDERR 和 STDOUT,您可以获得崩溃日志,并且通过检查 STDERR 的大小,您可以确定是否发生了崩溃。