Time displayed in Logcat

前端 未结 6 710
野趣味
野趣味 2021-02-01 13:45

I need to get the Android device timestamp in the format hh:mm:ss:SS. I am able to view the time displayed in the Logcat of Eclipse. Is it the computer\'s time or is it the Andr

6条回答
  •  执念已碎
    2021-02-01 14:11

    use adb logcat -v threadtime in terminal to take the logs from device, it will include date and time.

    if you want to redirect these logs into a text file then use command in terminal.

     adb logcat -v threadtime > folder_path_in_the_computer/filename.txt
    

提交回复
热议问题