Logcat 是一个命令行工具,用于转储系统消息日志,包括设备抛出错误时的堆栈轨迹,以及从应用使用 Log 类写入的消息。
1.基础语法
[adb] logcat [<option>] ... [<filter-spec>] ...
adb logcat [选项] [过滤项]
日志等级,默认过滤项是“I”
V:Verbose(明细)
D:Debug(调试)
I:Info(信息)
W:Warn(警告)
E:Error(错误)
F:Fatal(严重错误)
S:Silent(Super all output)(最高的优先级,可能不会记载东西)
2.-s
| ```bash
-s:设置输出日志的标签,只显示该标签的日志
adb logcat -s System.out > d:/log.log
|
| --- |
| ```sql
--------- beginning of system
--------- beginning of main
-----------------------------------这一列-----------------------------------------------
11-19 11:36:26.125 3769 3769 I System.out: try to read extra string from apk : /data/app/com.androidmarket.dingzhi-sWvP6vfR--6GOVWNs0EKYQ==/base.apk
11-19 11:36:26.127 3769 3769 I System.out: find V2 signature block Id : 1896449818
11-19 11:36:26.127 3769 3769 I System.out: getByteBufferValueById , destApk /data/app/com.androidmarket.dingzhi-sWvP6vfR--6GOVWNs0EKYQ==/base.apk IdValueMap = {1896449818=java.nio.HeapByteBuffer[pos=0 lim=1173 cap=1173], -2012129793=java.nio.HeapByteBuffer[pos=0 lim=49 cap=49], 1114793335=java.nio.HeapByteBuffer[pos=0 lim=2806 cap=2806]}
11-19 11:36:26.127 3769 3769 I System.out: getByteValueById , id = -2012129793 , value = java.nio.HeapByteBuffer[pos=0 lim=49 cap=49]
|
3.-v time
| ```java // -v:设置日志到输出格式,注意只能设置一项; adb logcat -v time
---
```sql
-- 日期 时间 优先级/标签 (进程ID) : 进程名称 : 日志信息
--------- beginning of system
日期----时间--------优先级-----进程id:进程名----日志信息-------------------------------
01-22 01:32:08.472 I/QISL ( 592): QSEE Interrupt Service Listener Thread is started
01-22 01:32:08.473 I/QISL ( 592): QSEE Interrupt Service Listener was activated successfully
01-22 01:32:08.474 D/SPL ( 592): Call QSEECom_register_listener()
01-22 01:32:08.474 D/SPL ( 592): Registered listener sucessfully!
01-22 01:32:08.474 D/SPL ( 592): pipe read-fd [31] write-fd [32]
01-22 01:32:08.474 D/SPL ( 592): Create thread
01-22 01:32:08.474 D/SPL ( 592): Thread created sucessfully.
01-22 01:32:08.474 D/SPL ( 592): spl_dispatch() started
01-22 01:32:08.474 D/SPL ( 592): ==== Wait For Request ======
01-22 01:32:08.730 I/vold ( 621): Vold 3.0 (the awakening) firing up
01-22 01:32:08.731 V/vold ( 621): Detected support for: ext4 vfat exfat
01-22 01:32:08.735 W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop5: No such device or address
01-22 01:32:08.735 W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop1: No such device or address
01-22 01:32:08.736 W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop4: No such device or address
01-22 01:32:08.736 W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop0: No such device or address
01-22 01:32:08.736 W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop7: No such device or address
01-22 01:32:08.736 W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop3: No such device or address
01-22 01:32:08.736 W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop6: No such device or address
01-22 01:32:08.736 W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop2: No such device or address
01-22 01:32:08.737 E/vold ( 621): [libfs_mgr]Warning: unknown flag forceformat
01-22 01:32:08.738 D/vold ( 621): VoldNativeService::start() completed OK
| | —- |
4.-v brief
| ```java db logcat -v brief
---
```sql
-- 优先级/标签 (进程ID) : 日志信息
--------- beginning of system
优先级/标签----进程id:------日志信息-----------------------------------------------------
I/QISL ( 592): QSEE Interrupt Service Listener Thread is started
I/QISL ( 592): QSEE Interrupt Service Listener was activated successfully
D/SPL ( 592): Call QSEECom_register_listener()
D/SPL ( 592): Registered listener sucessfully!
D/SPL ( 592): pipe read-fd [31] write-fd [32]
D/SPL ( 592): Create thread
D/SPL ( 592): Thread created sucessfully.
D/SPL ( 592): spl_dispatch() started
D/SPL ( 592): ==== Wait For Request ======
I/vold ( 621): Vold 3.0 (the awakening) firing up
V/vold ( 621): Detected support for: ext4 vfat exfat
W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop5: No such device or address
W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop1: No such device or address
W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop4: No such device or address
W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop0: No such device or address
W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop7: No such device or address
W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop3: No such device or address
W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop6: No such device or address
W/vold ( 621): Failed to LOOP_GET_STATUS64 /dev/block/loop2: No such device or address
E/vold ( 621): [libfs_mgr]Warning: unknown flag forceformat
D/vold ( 621): VoldNativeService::start() completed OK
| | —- |
5.-v process
| ```java adb logcat -v process
---
```sql
-- 优先级 (进程ID) : 日志信息
--------- beginning of system
优先级(进程id):------------------日志信息------------------------
I( 592) QSEE Interrupt Service Listener Thread is started (QISL)
I( 592) QSEE Interrupt Service Listener was activated successfully (QISL)
D( 592) Call QSEECom_register_listener() (SPL)
D( 592) Registered listener sucessfully! (SPL)
D( 592) pipe read-fd [31] write-fd [32] (SPL)
D( 592) Create thread (SPL)
D( 592) Thread created sucessfully. (SPL)
D( 592) spl_dispatch() started (SPL)
D( 592) ==== Wait For Request ====== (SPL)
I( 621) Vold 3.0 (the awakening) firing up (vold)
V( 621) Detected support for: ext4 vfat exfat (vold)
W( 621) Failed to LOOP_GET_STATUS64 /dev/block/loop5: No such device or address (vold)
W( 621) Failed to LOOP_GET_STATUS64 /dev/block/loop1: No such device or address (vold)
W( 621) Failed to LOOP_GET_STATUS64 /dev/block/loop4: No such device or address (vold)
W( 621) Failed to LOOP_GET_STATUS64 /dev/block/loop0: No such device or address (vold)
W( 621) Failed to LOOP_GET_STATUS64 /dev/block/loop7: No such device or address (vold)
W( 621) Failed to LOOP_GET_STATUS64 /dev/block/loop3: No such device or address (vold)
W( 621) Failed to LOOP_GET_STATUS64 /dev/block/loop6: No such device or address (vold)
W( 621) Failed to LOOP_GET_STATUS64 /dev/block/loop2: No such device or address (vold)
E( 621) [libfs_mgr]Warning: unknown flag forceformat (vold)
| | —- |
6.-v tag
| ```java adb logcat -v tag
---
```sql
-- 优先级/标签 : 日志信息
--------- beginning of system
优先级/标签:---------日志信息-------------------------
I/QISL : QSEE Interrupt Service Listener Thread is started
I/QISL : QSEE Interrupt Service Listener was activated successfully
D/SPL : Call QSEECom_register_listener()
D/SPL : Registered listener sucessfully!
D/SPL : pipe read-fd [31] write-fd [32]
D/SPL : Create thread
D/SPL : Thread created sucessfully.
D/SPL : spl_dispatch() started
D/SPL : ==== Wait For Request ======
I/vold : Vold 3.0 (the awakening) firing up
V/vold : Detected support for: ext4 vfat exfat
W/vold : Failed to LOOP_GET_STATUS64 /dev/block/loop5: No such device or address
W/vold : Failed to LOOP_GET_STATUS64 /dev/block/loop1: No such device or address
W/vold : Failed to LOOP_GET_STATUS64 /dev/block/loop4: No such device or address
W/vold : Failed to LOOP_GET_STATUS64 /dev/block/loop0: No such device or address
W/vold : Failed to LOOP_GET_STATUS64 /dev/block/loop7: No such device or address
W/vold : Failed to LOOP_GET_STATUS64 /dev/block/loop3: No such device or address
W/vold : Failed to LOOP_GET_STATUS64 /dev/block/loop6: No such device or address
W/vold : Failed to LOOP_GET_STATUS64 /dev/block/loop2: No such device or address
| | —- |
7.-v raw
| ```java adb logcat -v raw
---
```sql
-- 只输出日志信息, 不附加任何其他 信息, 如 优先级 标签等
--------- beginning of system
QSEE Interrupt Service Listener Thread is started
QSEE Interrupt Service Listener was activated successfully
Call QSEECom_register_listener()
Registered listener sucessfully!
pipe read-fd [31] write-fd [32]
Create thread
Thread created sucessfully.
spl_dispatch() started
==== Wait For Request ======
Vold 3.0 (the awakening) firing up
Detected support for: ext4 vfat exfat
Failed to LOOP_GET_STATUS64 /dev/block/loop5: No such device or address
Failed to LOOP_GET_STATUS64 /dev/block/loop1: No such device or address
Failed to LOOP_GET_STATUS64 /dev/block/loop4: No such device or address
Failed to LOOP_GET_STATUS64 /dev/block/loop0: No such device or address
Failed to LOOP_GET_STATUS64 /dev/block/loop7: No such device or address
Failed to LOOP_GET_STATUS64 /dev/block/loop3: No such device or address
Failed to LOOP_GET_STATUS64 /dev/block/loop6: No such device or address
Failed to LOOP_GET_STATUS64 /dev/block/loop2: No such device or address
[libfs_mgr]Warning: unknown flag forceformat
VoldNativeService::start() completed OK
e4crypt_init_user0
e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
adb logcat -v raw 只输出日志信息, 不附加任何其他 信息, 如 优先级 标签等
adb logcat -v threadtime 日期 时间 进程 线程 优先级:日志信息
adb logcat -v long 日期 时间 进程ID : 线程ID 优先级/标签:日志信息
| | —- |
8.-v threadtime
| ```java adb logcat -v threadtime
---
```sql
-- 日期 时间 进程 线程 优先级:日志信息
--------- beginning of system
日期---时间----------进程--线程-优先级:日志信息
01-22 01:32:08.472 592 601 I QISL : QSEE Interrupt Service Listener Thread is started
01-22 01:32:08.473 592 601 I QISL : QSEE Interrupt Service Listener was activated successfully
01-22 01:32:08.474 592 592 D SPL : Call QSEECom_register_listener()
01-22 01:32:08.474 592 592 D SPL : Registered listener sucessfully!
01-22 01:32:08.474 592 592 D SPL : pipe read-fd [31] write-fd [32]
01-22 01:32:08.474 592 592 D SPL : Create thread
01-22 01:32:08.474 592 592 D SPL : Thread created sucessfully.
01-22 01:32:08.474 592 602 D SPL : spl_dispatch() started
01-22 01:32:08.474 592 602 D SPL : ==== Wait For Request ======
01-22 01:32:08.730 621 621 I vold : Vold 3.0 (the awakening) firing up
01-22 01:32:08.731 621 621 V vold : Detected support for: ext4 vfat exfat
01-22 01:32:08.735 621 621 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop5: No such device or address
01-22 01:32:08.735 621 621 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop1: No such device or address
01-22 01:32:08.736 621 621 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop4: No such device or address
01-22 01:32:08.736 621 621 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop0: No such device or address
01-22 01:32:08.736 621 621 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop7: No such device or address
01-22 01:32:08.736 621 621 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop3: No such device or address
01-22 01:32:08.736 621 621 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop6: No such device or address
01-22 01:32:08.736 621 621 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop2: No such device or address
01-22 01:32:08.737 621 621 E vold : [libfs_mgr]Warning: unknown flag forceformat
01-22 01:32:08.738 621 621 D vold : VoldNativeService::start() completed OK
| | —- |
9.-v long
| ```java db logcat -v long
---
```sql
-- 日期 时间 进程ID : 线程ID 优先级/标签:日志信息
--------- beginning of system
[ 01-22 01:32:08.472 592: 601 I/QISL ]
QSEE Interrupt Service Listener Thread is started
[ 01-22 01:32:08.473 592: 601 I/QISL ]
QSEE Interrupt Service Listener was activated successfully
[ 01-22 01:32:08.474 592: 592 D/SPL ]
Call QSEECom_register_listener()
[ 01-22 01:32:08.474 592: 592 D/SPL ]
Registered listener sucessfully!
[ 01-22 01:32:08.474 592: 592 D/SPL ]
pipe read-fd [31] write-fd [32]
[ 01-22 01:32:08.474 592: 592 D/SPL ]
Create thread
[ 01-22 01:32:08.474 592: 592 D/SPL ]
| | —- |
10.-v other
-c:清空所有到日志缓存信息;
adb logcat -c 可以将之前的日志信息清空,重新开始输出日志信息
-d:将缓存到日志输出到屏幕上,之后退出命令,并且不会阻塞;
-t:输出最近到几行日志,输出完退出,不阻塞;
adb logcat -t 5 输出最近的5行日志
-g:查看日志缓冲区信息;
adb logcat -g
wuhuaroudeMacBook-Pro:~ gokaniku$ adb logcat -g
main: ring buffer is 256Kb (255Kb consumed), max entry is 5120b, max payload is 4068b
system: ring buffer is 256Kb (237Kb consumed), max entry is 5120b, max payload is 4068b
crash: ring buffer is 256Kb (0b consumed), max entry is 5120b, max payload is 4068b
-b:加载一个日志缓冲区,默认是main,详解;
adb logcat -b radio//查看radio缓冲区
radio:过滤通信系统部分的log
main:所有java层的log 注意:它不包含其他缓冲区的java层
system:系统组件的log
events:event模块的log
crash:崩溃的log
kernel:内核日志 可以看到rc文件中服务启动情况
default:主要输出main,system,crash三个缓冲区中的日志
all:以上所有缓冲区的日志全部输出
-B:以二进制形式输出日志;
11.|grep
| ```sql adb shell logcat “|grep -i com.autonavi.amapauto” > d:/log.log
|
| --- |
| ```sql
11-19 13:58:29.093 11589 11589 I MapApplication: Process Is :11589 :com.autonavi.amapauto:locationservice myPid:11589
11-19 13:58:29.094 11589 11589 D MapApplication: com.autonavi.amapauto mMainApp=false
11-19 13:58:29.113 11589 11589 I MapApplication: Process Is :11428 :com.autonavi.amapauto myPid:11589
11-19 13:58:29.113 11589 11589 I MapApplication: Process Is :11589 :com.autonavi.amapauto:locationservice myPid:11589
11-19 13:58:29.121 11589 11589 D AutoLibraryLoader: addLibrary priority = -1,path = /data/user/0/com.autonavi.amapauto/cpplibs/
11-19 13:58:29.125 11589 11589 D SelfUpdate: /data/user/0/com.autonavi.amapauto/UpdateVerInfo.dat (No such file or directory)
11-19 13:58:29.126 11589 11589 D SelfUpdate: getLibPath libpath :/data/user/0/com.autonavi.amapauto/AutoUpdate/run/lib/
11-19 13:58:29.128 11589 11589 D AutoLibraryLoader: addLibrary priority = 3,path = /data/user/0/com.autonavi.amapauto/app_version/6.0.0.600475
11-19 13:58:29.128 11589 11589 D AutoLibraryLoader: addLibrary priority = 4,path = /data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/lib/arm/
11-19 13:58:29.135 11589 11589 E DumpCrash: 此appimportace =100,context.getClass().getName()=com.autonavi.amapauto.app.MapApplicationProxy
11-19 13:58:29.135 11589 11589 E DumpCrash: 处于前台com.autonavi.amapauto
11-19 13:58:29.136 11589 11589 E DumpCrash: BASE_APK_VERSION = 6.0.0.600475,BASE_LIB_PATH/data/user/0/com.autonavi.amapauto/app_version
11-19 13:58:29.143 1233 7437 E DatabaseUtils: java.lang.SecurityException: com.autonavi.amapauto was not granted this permission: android.permission.WRITE_SETTINGS.
11-19 13:58:29.172 11589 11656 I locationservic: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.telephony.TelephonyManager$CellInfoCallback" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/lib/arm, /system/fake-libs, /data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
11-19 13:58:29.172 11589 11656 I locationservic: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.telephony.TelephonyManager$CellInfoCallback" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/lib/arm, /system/fake-libs, /data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
11-19 13:58:29.210 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:58:29.339 11428 11667 I chatty : uid=10153(com.autonavi.amapauto) identical 1 line
11-19 13:58:29.339 11428 11667 I chatty : uid=10153(com.autonavi.amapauto) identical 3 lines
11-19 13:58:29.339 11428 11667 I chatty : uid=10153(com.autonavi.amapauto) identical 3 lines
11-19 13:58:29.339 11428 11667 I chatty : uid=10153(com.autonavi.amapauto) identical 5 lines
11-19 13:58:29.537 1233 1339 D Boost : hostingType=service, hostingName=com.autonavi.amapauto/com.autonavi.mqtt.service.PushService, callerPackage=com.autonavi.amapauto, isSystem=false, isBoostNeeded=false.
11-19 13:58:29.538 1233 1339 I ActivityManager: Start proc 11697:com.autonavi.amapauto:push/u0a153 for service com.autonavi.amapauto/com.autonavi.mqtt.service.PushService caller=com.autonavi.amapauto
11-19 13:58:29.587 11697 11697 W i.amapauto:pus: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 13:58:29.612 11697 11697 D SelfUpdate: appProcess.processName:com.autonavi.amapauto context.getPackageName: com.autonavi.amapauto
11-19 13:58:29.613 11697 11697 D SelfUpdate: appProcess.processName:com.autonavi.amapauto:push context.getPackageName: com.autonavi.amapauto
11-19 13:58:29.613 11697 11697 D SelfUpdate: appProcess.processName:com.autonavi.amapauto:locationservice context.getPackageName: com.autonavi.amapauto
11-19 13:58:29.616 11697 11697 I MapApplication: Process Is :11428 :com.autonavi.amapauto myPid:11697
11-19 13:58:29.616 11697 11697 I MapApplication: Process Is :11697 :com.autonavi.amapauto:push myPid:11697
11-19 13:58:29.616 11697 11697 I MapApplication: Process Is :11589 :com.autonavi.amapauto:locationservice myPid:11697
11-19 13:58:29.616 11697 11697 D MapApplication: com.autonavi.amapauto mMainApp=false
11-19 13:58:29.636 11697 11697 I MapApplication: Process Is :11428 :com.autonavi.amapauto myPid:11697
11-19 13:58:29.636 11697 11697 I MapApplication: Process Is :11697 :com.autonavi.amapauto:push myPid:11697
11-19 13:58:29.636 11697 11697 I MapApplication: Process Is :11589 :com.autonavi.amapauto:locationservice myPid:11697
11-19 13:58:29.644 11697 11697 D AutoLibraryLoader: addLibrary priority = -1,path = /data/user/0/com.autonavi.amapauto/cpplibs/
11-19 13:58:29.647 11697 11697 D SelfUpdate: /data/user/0/com.autonavi.amapauto/UpdateVerInfo.dat (No such file or directory)
11-19 13:58:29.647 11697 11697 D SelfUpdate: getLibPath libpath :/data/user/0/com.autonavi.amapauto/AutoUpdate/run/lib/
11-19 13:58:29.648 11697 11697 D AutoLibraryLoader: addLibrary priority = 3,path = /data/user/0/com.autonavi.amapauto/app_version/6.0.0.600475
11-19 13:58:29.648 11697 11697 D AutoLibraryLoader: addLibrary priority = 4,path = /data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/lib/arm/
11-19 13:58:29.655 11697 11697 E DumpCrash: 此appimportace =100,context.getClass().getName()=com.autonavi.amapauto.app.MapApplicationProxy
11-19 13:58:29.655 11697 11697 E DumpCrash: 处于前台com.autonavi.amapauto
11-19 13:58:29.659 11697 11697 E DumpCrash: BASE_APK_VERSION = 6.0.0.600475,BASE_LIB_PATH/data/user/0/com.autonavi.amapauto/app_version
11-19 13:58:29.673 1233 3599 E DatabaseUtils: java.lang.SecurityException: com.autonavi.amapauto was not granted this permission: android.permission.WRITE_SETTINGS.
11-19 13:58:32.851 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:58:36.706 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:58:39.867 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:58:43.631 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:58:47.394 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:58:51.244 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:58:55.081 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:58:58.849 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:02.671 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:06.450 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:10.220 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:14.007 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:17.909 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:21.717 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:25.491 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:29.344 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:29.541 11428 11428 I chatty : uid=10153(com.autonavi.amapauto) identical 4 lines
11-19 13:59:33.171 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:37.034 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:40.870 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:44.615 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:48.476 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
11-19 13:59:52.329 1233 2157 D MiuiScanRequestProxy: Package com.autonavi.amapauto is in white list
|
12.常用命令
| ```java adb shell logcat -v threadtime :E “|grep —color=auto -i com.autonavi.amapauto” > d:/log.log // (1)-v threadtime 日期 时间 进程 线程 优先级:日志信息 // (2):E 正则提取日志等级为error的 // (3)”|grep —color=auto -i com.autonavi.amapauto” 查找相关包的日志 // (4)> d:/log.log 输出到指定路径下
|
| --- |
| ```sql
11-19 03:36:30.353 +0000 3588 4108 W dmarket.dingzh: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 03:36:33.669 +0000 3588 4108 W dmarket.dingzh: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 03:36:36.075 +0000 3931 4571 W doujia.phoenix: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 03:39:49.651 +0000 7875 7906 W d.process.medi: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 03:41:21.738 +0000 4169 8232 W zhi:PushServic: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 03:47:59.147 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 03:52:44.232 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:06:59.385 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:11:44.460 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:16:29.562 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:21:14.665 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:25:59.723 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:30:44.821 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:44:13.062 +0000 4169 9774 W zhi:PushServic: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:44:59.844 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:49:44.957 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:54:30.019 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 04:59:15.131 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 05:04:00.137 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 05:08:45.191 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 05:13:30.251 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 05:18:15.285 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 05:23:00.358 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 05:27:45.459 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 05:42:00.665 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.autonavi.amapauto-xDlWsH1n0hXR06Mu7-0BwQ==/base.apk' is compressed.
11-19 05:46:45.652 +0000 8394 8452 W plorer:pushcor: resources.arsc in APK '/data/app/com.auto
|
| ```sql 1.查看进程id:adb shell ps | grep “com.autonavi.amapauto” 2.adb logcat -s 11428
|
| --- |
| ```sql
adb logcat -v time HwUidTcpMonitor:I *:S
|