W/System: A resource failed to call release

后端 未结 3 4050
甜味超标
甜味超标 2020-12-11 03:00

As the title says. When using the console of AndroidStudio on my app it shows:

W/System: A resource failed to call release.

Sometimes it is said multiple ti

3条回答
  •  Happy的楠姐
    2020-12-11 03:23

    I don't think that you can get any more information out of Logcat.

    The memory view of the Android Profiler is probably a good place to start. Looking at it while using your app should give you an idea of what actions cause memory to be allocated and not released. You can also select sections from the timeline and drill down to specific allocations by class.

    Alternatively LeakCanary is a great library to detect memory leaks.

提交回复
热议问题