在我的logcat中,我发现了一些警告信息
InputManagerService
Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@40651cb0 (uid=10015 pid=3024)
ActivityManager
Process com.android.inputmethod.latin (pid 3034) has died.
Scheduling restart of crashed service com.android.inputmethod.latin/.LatinIME in 5000ms
Low Memory: No more background processes.
InputDispatcher
channel '40827098 com.vigorshine.zsafe/com.vigorshine.zsafe.Main02 (server)' ~ Consumer closed input channel or an error occurred. events=0x8
channel '40827098 com.vigorshine.zsafe/com.vigorshine.zsafe.Main02 (server)' ~ Channel is unrecoverably broken and will be disposed!
答案 0 :(得分:0)
最后,它是自定义位图和字体导致内存泄漏的问题。 我需要回收并使用setCallBack(null)来释放它们。