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.
logcat('adb shell logcat')をフィルターで除外して、現在の日時以降のログステートメントのみを表示する方法を知っている人はいますか?前もって感謝します。
現在の日時以降に作成されたアクティビティ?または、現在の時刻の後にステートメントをログに記録しますか?「adblogcat-c;adblogcat」のように単純でしょうか。
logcat を起動する前に、最初に引数 -c を渡します。ターミナルで次のように言います。
adb logcat -c adb logcat
これにより、新しいログが生成されます。