使用adb检查手机高德地图日志
获取当前应用包名 adb shell dumpsys window | findstr mCurrentFocus
查看高德地图的pid adb shell "ps |grep autonavi"
查看具体某个pid的日志 adb logcat --pid 20309
保存具体某个pid的日志 adb logcat --pid 20309 -> D:/logcat.txt
点击搜索框10:22:55-10:22:58
点击路线(开始规划路线)10:26:38-10:26:40
——创建CarResultPage
06-24 10:26:38.215 20309 20309 E aae : 4:2600.215277:com.amap.bundle.planhome.page.PlanHomePage
06-24 10:26:38.187 20309 20309 W IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection
06-24 10:26:38.187 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
06-24 10:26:38.210 20309 20309 W IInputConnectionWrapper: getTextAfterCursor on inactive InputConnection
06-24 10:26:38.215 20309 20309 E aae : 3:2600.215216:com.amap.bundle.planhome.page.PlanHomePage#Create
06-24 10:26:38.215 20309 20309 E aae : 4:2600.215277:com.amap.bundle.planhome.page.PlanHomePage
06-24 10:26:38.273 20309 20309 E aae : 3:2600.273133:path://amap_bundle_drive/src/car/result_page/CarResultPage.page.js#Create
06-24 10:26:38.273 20309 20309 E aae : 4:2600.273417:path://amap_bundle_drive/src/car/result_page/CarResultPage.page.js
06-24 10:26:38.279 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
06-24 10:26:38.287 20309 20309 I chatty : uid=10194(com.autonavi.minimap) identical 7 lines
06-24 10:26:38.288 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
06-24 10:26:38.290 20309 20309 E utonavi.minima: Invalid ID 0x00000000.
06-24 10:26:38.293 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
06-24 10:26:38.294 20309 20309 E aae : 3:2600.294222:com.autonavi.bundle.amaphome.page.SearchContainerPage#Pause
06-24 10:26:38.303 20309 20309 E aae : 3:2600.303413:com.autonavi.bundle.amaphome.page.SearchContainerPage#Stop
——打开CarResultPage
06-24 10:26:38.326 20309 20309 E aae : 3:2600.326360:path://amap_bundle_drive/src/car/result_page/CarResultPage.page.js#Start
06-24 10:26:38.327 20309 20309 E aae : 3:2600.327585:path://amap_bundle_drive/src/car/result_page/CarResultPage.page.js#Start
06-24 10:26:38.333 20309 20309 E aae : 3:2600.333887:path://amap_bundle_drive/src/car/result_page/CarResultPage.page.js#Resume
06-24 10:26:38.337 20309 20309 E aae : 3:2600.337704:path://amap_bundle_drive/src/car/result_page/CarResultPage.page.js#Resume
06-24 10:26:38.359 20309 20664 E _nativeStartService: environment
06-24 10:26:38.400 20309 20309 W View : requestLayout() improperly called by com.autonavi.bundle.uitemplate.mapwidget.MapWidgetContainer{34c3e1f V.E...... ......I. 0,0-1080,2175 #7f09088e app:id/map_widget_container} during layout: running second layout pass
06-24 10:26:38.419 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
06-24 10:26:38.434 20309 20309 D AudioManager: getStreamVolume isRestricted mode = 0
06-24 10:26:38.487 20309 20549 E aae : 9:2600.487238:Start
——内存清理
06-24 10:26:38.488 20309 20321 I utonavi.minima: Background young concurrent copying GC freed 324763(18MB) AllocSpace objects, 81(2272KB) LOS objects, 34% free, 36MB/55MB, paused 884us total 127.867ms
——启动音频
06-24 10:26:38.488 20309 20549 D AudioRecord: set(): inputSource 1, sampleRate 16000, format 0x1, channelMask 0x10, frameCount 2560, notificationFrames 0, sessionId 0, transferType 0, flags 0, opPackageName com.autonavi.minimap uid -1, pid -1
06-24 10:26:38.503 20309 24822 D AudioRecord: start(85): sync event 0 trigger session 0, mSessionID=321
——图像渲染
06-24 10:26:38.505 20309 20577 W RenderInspector: QueueBuffer time out on com.autonavi.minimap/com.autonavi.map.activity.NewMapActivity, count=1, avg=11 ms, max=11 ms.
——音频录制状态变化
06-24 10:26:38.518 20309 24822 D AudioService: broadcastRecorderState:com.autonavi.minimap
——浅色、深色主题判断
06-24 10:26:38.609 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
06-24 10:26:38.611 20309 20309 I chatty : uid=10194(com.autonavi.minimap) identical 4 lines
06-24 10:26:38.611 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
——图像渲染
06-24 10:26:38.634 20309 20577 W RenderInspector: QueueBuffer time out on com.autonavi.minimap/com.autonavi.map.activity.NewMapActivity, count=1, avg=10 ms, max=10 ms.
——资源未加载
06-24 10:26:38.659 20309 20309 E utonavi.minima: Invalid ID 0x00000000.
06-24 10:26:39.088 20309 20309 E utonavi.minima: Invalid ID 0x00000000.
——浅色、深色主题判断
06-24 10:26:39.131 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
06-24 10:26:39.139 20309 20309 I chatty : uid=10194(com.autonavi.minimap) identical 22 lines
06-24 10:26:39.139 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
——包含错误变量
06-24 10:26:39.497 20309 20664 E _nativeStartService: environment
——图像渲染
06-24 10:26:39.526 20309 20577 W RenderInspector: DequeueBuffer time out on com.autonavi.minimap/com.autonavi.map.activity.NewMapActivity, count=1, avg=8 ms, max=8 ms.
06-24 10:26:40.416 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
06-24 10:26:40.475 20309 20309 I chatty : uid=10194(com.autonavi.minimap) identical 125 lines
06-24 10:26:40.480 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
——清理内存
06-24 10:26:40.665 20309 20321 I utonavi.minima: Background concurrent copying GC freed 423229(20MB) AllocSpace objects, 107(8548KB) LOS objects, 45% free, 28MB/52MB, paused 109us total 214.016ms
——浅色、深色主题判断
06-24 10:26:40.835 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
06-24 10:26:40.889 20309 20309 I chatty : uid=10194(com.autonavi.minimap) identical 192 lines
06-24 10:26:40.889 20309 20309 D ForceDarkHelper: updateByCheckExcludeList: pkg: com.autonavi.minimap activity: com.autonavi.map.activity.NewMapActivity@bca44fc
开始导航10:26:58-10:27:21