Android studio:logcat中有很多消息,与我正在调试的应用程序无关。如何防止它们出现在logcat中?
08-18 19:33:00.004 1538-1554/system_process E/memtrack: Couldn't load memtrack module
08-18 19:33:00.030 1538-1554/system_process E/memtrack: Couldn't load memtrack module
08-18 19:33:00.078 1538-1554/system_process E/memtrack: Couldn't load memtrack module
08-18 19:33:00.143 1538-1554/system_process E/memtrack: Couldn't load memtrack module
08-18 19:33:00.171 1538-1554/system_process E/memtrack: Couldn't load memtrack module
08-18 19:33:01.175 1333-6343/? E/AudioFlinger: not enough memory for AudioTrack size=131296
08-18 19:33:01.175 1333-6343/? E/AudioFlinger: createRecordTrack_l() initCheck failed -12; no control block?
08-18 19:33:06.211 1333-1333/? E/AudioFlinger: not enough memory for AudioTrack size=131296
08-18 19:33:06.211 1333-1333/? E/AudioFlinger: createRecordTrack_l() initCheck failed -12; no control block?
08-18 19:33:11.240 1333-6343/? E/AudioFlinger: not enough memory for AudioTrack size=131296
08-18 19:33:11.241 1333-6343/? E/AudioFlinger: createRecordTrack_l() initCheck failed -12; no control block?
08-18 19:33:16.278 1333-3720/? E/AudioFlinger: not enough memory for AudioTrack size=131296
08-18 19:33:16.278 1333-3720/? E/AudioFlinger: createRecordTrack_l() initCheck failed -12; no
答案 0 :(得分:0)
通常在logcat窗口的顶部,有一些下拉菜单。从左到右(对我来说,无论如何),一个用于设备,一个用于进程,一个用于允许的日志级别,一个用于...类型的过滤,我猜?确保进程下拉列表已选择您正在调试的进程,并且筛选类型下拉列表已选中“仅显示所选应用程序”。